Skip to content

Commit c87c41c

Browse files
authored
Fixed semicolon in TWO_PI.pde
The previous character is not a semicolon. It just looks like one. The ASCII code for a semicolon is 59. I checked the code for whatever is currently after the size(400,400) and I found 65307. ';'.charCodeAt(0) I discovered this issue when pasting code from the example on the Processing website.
1 parent c2d4af5 commit c87c41c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • content/references/examples/processing/TWO_PI

content/references/examples/processing/TWO_PI/TWO_PI.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
float x = width/2;
22
float y = height/2;
33
float d = width * 0.8;
4-
size(400,400)
4+
size(400,400);
55
arc(x, y, d, d, 0, QUARTER_PI);
66
arc(x, y, d-80, d-80, 0, HALF_PI);
77
arc(x, y, d-160, d-160, 0, PI);

0 commit comments

Comments
 (0)