Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in examples #769

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function setup() {
circle(560, 100, 100);

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

// Draw line
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* @name Radial Gradient
* @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
* @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
* @description Draws a series of concentric circles to create a gradient
* from one color to another.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
let r;

// Angle and angular velocity, accleration
// Angle and angular velocity, acceleration
let theta;
let theta_vel;
let theta_acc;
Expand Down
4 changes: 2 additions & 2 deletions src/content/examples/en/15_Math_And_Physics/More/WolframCA.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ function draw() {
function generate() {
// First we create an empty array for the new values
let nextgen = Array(cells.length);
// For every spot, determine new state by examing current state, and neighbor states
// Ignore edges that only have one neighor
// For every spot, determine new state by examining current state, and neighbor states
// Ignore edges that only have one neighbor
for (let i = 1; i < cells.length-1; i++) {
let left = cells[i-1]; // Left neighbor state
let me = cells[i]; // Current state
Expand Down