Skip to content

Commit 43cc7bd

Browse files
committed
Fix broken M_2_1_01 (#187)
1 parent 474c062 commit 43cc7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02_M/M_2_1_01/sketch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ var sketch = function(p) {
7878
var t = (p.frameCount / pointCount) % 1;
7979
angle = p.map(t,0,1,0,p.TAU);
8080
var x = p.cos(angle * freq + p.radians(phi));
81-
x *= 100 - 125;
81+
x = x * 100 - 125;
8282
y = p.sin(angle * freq + p.radians(phi));
8383
y = y * 100;
8484

0 commit comments

Comments
 (0)