/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://fgcs.sketchpad.cc/sp/pad/view/ro.opeiCkemUfh/rev.952
*
* authors:
* Max
* Markus Roberts
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
int i = 0;
int x = 200;
int y = 200;
int c = 100;
int u = 100;
void setup() {
background(255);
size(300, 300);
smooth();
frameRate(20);
strokeWeight(5);
}
void draw() {
background(0);
noFill();
x = x+random(-5, 5);
y = y+random(-5, 5);
c = c+random(-5, 5);
u = u+random(-5, 5);
stroke(0, 0, random(0, 255), 100);
for (int i=0;i<1;i++) {
bezier(mouseX, mouseY, random(mouseX, x), random(mouseY, y), (random(mouseX, x)+random(-50, 50)), (random(mouseY, y)+random(-50, 50)), x, y);
//bezier(mouseX, mouseY, random(mouseX, c), random(mouseY, u), (random(mouseX, c)+random(-50, 50)), (random(mouseY, u)+random(-50, 50)), c, u);
}
}