This file contains 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 numberofinstances = 100; | |
float[] x = new float [numberofinstances]; | |
float[] y = new float [numberofinstances]; | |
color[] c = new color [numberofinstances]; | |
float [] xSpeed = new float [numberofinstances]; | |
float [] ySpeed = new float [numberofinstances]; | |
void setup() { | |
size(700, 700); | |
colorMode(HSB); |
This file contains 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 x = 50; | |
int condition = 5; | |
int i=300; | |
int y=300; | |
int a=0; | |
int b=360; | |
float c=360; | |
float easing =0.05; | |
int d =10; | |
int j=10; |
This file contains 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
void setup() { | |
size (600, 600); | |
background (245, 222, 179, 200); | |
fill (240, 230, 140, 200); | |
triangle (0, 0, 520, 220, 520, 440); | |
fill (255, 239, 213, 100); | |
triangle (0, 0, 520, 440, 520, 520); | |
noFill(); | |
fill (240, 230, 140, 50); | |
quad(0, 220, 520, 40, 520, 220, 0, 480); |