Skip to content

Commit 940cd97

Browse files
committed
Fix typos in examples
1 parent 8e571e8 commit 940cd97

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/content/examples/en/01_Shapes_And_Color/00_Shape_Primitives/code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function setup() {
3434
circle(560, 100, 100);
3535

3636
// Draw arc (compare to ellipse()) as eyelid
37-
// x, y, width, heght, start angle, stop angle, mode
37+
// x, y, width, height, start angle, stop angle, mode
3838
arc(540, 100, 300, 100, 180, 360, CHORD);
3939

4040
// Draw line

src/content/examples/en/07_Repetition/More/Radial_Gradient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* @name Radial Gradient
3-
* @arialabel Three circles on a black background. The middle circle is completely visible but the user can only see half of the other two. There is a gradiant from the center of the circle to the outer edge that changes every second
3+
* @arialabel Three circles on a black background. The middle circle is completely visible but the user can only see half of the other two. There is a gradient from the center of the circle to the outer edge that changes every second
44
* @description Draws a series of concentric circles to create a gradient
55
* from one color to another.
66
*/

src/content/examples/en/09_Angles_And_Motion/More/polartocartesian.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
let r;
99

10-
// Angle and angular velocity, accleration
10+
// Angle and angular velocity, acceleration
1111
let theta;
1212
let theta_vel;
1313
let theta_acc;

src/content/examples/en/15_Math_And_Physics/More/WolframCA.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ function draw() {
4444
function generate() {
4545
// First we create an empty array for the new values
4646
let nextgen = Array(cells.length);
47-
// For every spot, determine new state by examing current state, and neighbor states
48-
// Ignore edges that only have one neighor
47+
// For every spot, determine new state by examining current state, and neighbor states
48+
// Ignore edges that only have one neighbor
4949
for (let i = 1; i < cells.length-1; i++) {
5050
let left = cells[i-1]; // Left neighbor state
5151
let me = cells[i]; // Current state

0 commit comments

Comments
 (0)