This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ColorPicker{ | |
int x, y, w, h, c; | |
PGraphics pg; | |
PImage cpImage; | |
ColorPicker ( int x, int y, int w, int h, int c ){ | |
this.x = x + 20; | |
this.y = y + 20; | |
this.w = w; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# by Rodrigo R. Guimaraes | |
import smtplib | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.base import MIMEBase | |
from email.mime.text import MIMEText | |
from email import encoders | |
import os | |
gmail_user = "[email protected]" # Change this email for you gmail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import time | |
from mathutils import Vector | |
# purposely coded verbosely in places. relax :) | |
''' | |
about the data being processed here: | |
we have 11 elements per line. Per particle snapshot they inform us about: | |
Element[0] = track num | |
Element[1] = timestamp = num * 0.35ms (from the start) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float _x; | |
float _y; | |
float _rad; | |
void setup(){ | |
size(400,400); | |
noLoop(); | |
smooth(); | |
_rad = 160.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float _x; | |
float _y; | |
float _rad; | |
void setup(){ | |
background(0); | |
size(400,400); | |
noLoop(); | |
smooth(); | |
_rad = 30.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float _x; | |
float _y; | |
float _rad; | |
void setup(){ | |
background(0); | |
size(600,600); | |
noLoop(); | |
smooth(); | |
_rad = 30.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int APP_WIDTH; | |
int APP_HEIGHT; | |
ArrayList<VectorPointer> vectors; | |
void setup() { | |
APP_WIDTH = 640; | |
APP_HEIGHT = 360; | |
size(APP_WIDTH, APP_HEIGHT); | |
frameRate(24); |