Skip to content

Commit

Permalink
-[-{><}-]-
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaudry committed Jan 29, 2025
1 parent c518ca9 commit 2432d8b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion p5-experiments/plein003.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,22 @@ function draw() {
background(0, 0, 0)
noStroke()
ellipse(w*0.5,h*0.5,100,100)
ellipse(0,h*0.5,6,6)
ellipse(w,h*0.5,6,6)
ellipse(w*0.5,0,6,6)
ellipse(w*0.5,h,6,6)
beginShape();
vertex(ox1, oy1);
bezierVertex(
dx1 + ecartx * i * offx, dy1,
dx2, dx2 * 1.2 + ecarty * i * offy,
dx2, dy2);
endShape();

rose()
noLoop()
}

function rose(){

ellipse(0,h*0.5,6,6)
}

0 comments on commit 2432d8b

Please sign in to comment.