Create a new Open Processing sketch.
Change the following program so that the circle moves across and down while it is getting bigger. You may copy and paste the info below over your new sketch and finish writing your code from that.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
var circleSize=5; var circleX=100; var circleY=100; function setup() { createCanvas(windowWidth,windowHeight); } function draw() { background(0); stroke(255); fill(175); // fill in your code here } |
Name your sketch: MoveGrow
Go back to: Variables