processing, almost gettin it...
I thought this experiment was quite cool, a variation of the first script i wrote however this by using 'pmouse x and y and mouse x and y' the circles vary depending on the speed it tracks the window, so therefore if you move fast this circles will be large and if you move slowly the screen will fill with tiny circles. Another very cool piece of coding and i am quite happy with how they are turning out. However i just need to find a way to apply it to my project, or manage to create something that can be use throughout the design work.
void setup() {
size(800, 800);
smooth();
background(800, 800, 800);
}
void draw() {
float s = dist(mouseX, mouseY, pmouseX, pmouseY) +1;
noStroke();
fill(0, 20);
ellipse(mouseX, mouseY, s, s);
stroke(300);
point(mouseX, mouseY);
}
No comments:
Post a Comment