Skip to content

Commit 177d19c

Browse files
committed
Example edits
1 parent b0b0373 commit 177d19c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

content/examples/Basics/Math/SineWave/SineWave.pde

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
int xspacing = 8; // How far apart should each horizontal location be spaced
99
int w; // Width of entire wave
1010

11-
float theta = 0.0; // Start angle at 0
11+
float theta = 0.0; // Start angle at 0
1212
float amplitude = 75.0; // Height of wave
13-
float period = 500.0; // How many pixels before the wave repeats
14-
float dx; // Value for incrementing X, to be calculated as a function of period and xspacing
15-
float[] yvalues; // Using an array to store height values for the wave (not entirely necessary)
13+
float period = 500.0; // How many pixels before the wave repeats
14+
float dx; // Value for incrementing X, a function of period and xspacing
15+
float[] yvalues; // Using an array to store height values for the wave
1616

1717
void setup() {
1818
size(200,200);

0 commit comments

Comments
 (0)