Skip to content

Commit b289117

Browse files
committed
fixing additive wave example height not width
1 parent cfb2337 commit b289117

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

content/examples/Basics/Math/AdditiveWave/AdditiveWave.pde

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ void renderWave() {
6262
fill(255,50);
6363
ellipseMode(CENTER);
6464
for (int x = 0; x < yvalues.length; x++) {
65-
ellipse(x*xspacing,width/2+yvalues[x],16,16);
65+
ellipse(x*xspacing,height/2+yvalues[x],16,16);
6666
}
6767
}
68-

0 commit comments

Comments
 (0)