Skip to content

Commit

Permalink
Create suds.js
Browse files Browse the repository at this point in the history
  • Loading branch information
revaga authored Jan 4, 2024
1 parent 6b6fe20 commit d82fde5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions suds.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
function setup() {
createCanvas(displayWidth, displayHeight);
}

function draw() {
rad = random(0,40);
yval = mouseY + random(-2*rad, 2*rad);
xval = mouseX + random(-2*rad, 2*rad);
circle(xval, yval, rad);

}

0 comments on commit d82fde5

Please sign in to comment.