Skip to content

Commit 28a7825

Browse files
authored
Fix typos
1 parent 8f55c67 commit 28a7825

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

contributor_docs/project_wrapups/DIVYANSHU_RAJ_GSOC_20.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The introduction of es6 classes into the JS world , was a great relief for devel
5353

5454
when it comes to AUDIO GRAPHS , where one node is connected to so many other nodes and inherit property from its parent nodes , a more robust and cleaner implementation of Nodes was required and ES6 classes rocked the way .
5555

56-
Following PR REVAMPED the p5.sound's AUDIO NODES from ``funtion syntax`` to ``ES6 classes syntax``
56+
Following PR REVAMPED the p5.sound's AUDIO NODES from ``function syntax`` to ``ES6 classes syntax``
5757

5858
[#502](https://github.com/processing/p5.js-sound/pull/502)
5959
[#503](https://github.com/processing/p5.js-sound/pull/503)

contributor_docs/project_wrapups/munusshih_gsoc_2023.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ In conclusion, I am grateful for my time working with p5.js typography during GS
6969
## Features Requested
7070

7171
```jsx
72-
If they're not dependent/relevant, we should do seperate PRs.
72+
If they're not dependent/relevant, we should do separate PRs.
7373
```
7474
7575
| Topic | Status | Coded? | PR? | Pushed? |

lib/addons/p5.sound.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8308,7 +8308,7 @@ function reverb_setPrototypeOf(o, p) { reverb_setPrototypeOf = Object.setPrototy
83088308
/**
83098309
* Reverb adds depth to a sound through a large number of decaying
83108310
* echoes. It creates the perception that sound is occurring in a
8311-
* physical space. The p5.Reverb has paramters for Time (how long does the
8311+
* physical space. The p5.Reverb has parameters for Time (how long does the
83128312
* reverb last) and decayRate (how much the sound decays with each echo)
83138313
* that can be set with the .set() or .process() methods. The p5.Convolver
83148314
* extends p5.Reverb allowing you to recreate the sound of actual physical
@@ -9727,7 +9727,7 @@ function () {
97279727
soundLoop_classCallCheck(this, SoundLoop);
97289728

97299729
/**
9730-
* Getters and Setters, setting any paramter will result in a change in the clock's
9730+
* Getters and Setters, setting any parameter will result in a change in the clock's
97319731
* frequency, that will be reflected after the next callback
97329732
* beats per minute (defaults to 60)
97339733
* @property {Number} bpm
@@ -10110,7 +10110,7 @@ function (_Effect) {
1011010110
this.set(attack, knee, ratio, threshold, release);
1011110111
}
1011210112
/**
10113-
* Set the paramters of a compressor.
10113+
* Set the parameters of a compressor.
1011410114
* @method set
1011510115
* @for p5.Compressor
1011610116
* @param {Number} attack The amount of time (in seconds) to reduce the gain by 10dB,

src/accessibility/outputs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ p5.prototype._accsOutput = function(f, args) {
461461
if (f === 'line') {
462462
//make color stroke
463463
include.color = this.ingredients.colors.stroke;
464-
//get lenght
464+
//get length
465465
include.length = Math.round(this.dist(args[0], args[1], args[2], args[3]));
466466
//get position of end points
467467
let p1 = this._getPos(args[0], [1]);

src/core/friendly_errors/sketch_reader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ if (typeof IS_MINIFIED !== 'undefined') {
202202

203203
/**
204204
* Converts code written by the user to an array
205-
* every element of which is a seperate line of code.
205+
* every element of which is a separate line of code.
206206
*
207207
* @method codeToLines
208208
* @private

src/webgl/shaders/lighting.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ vec2 mapTextureToNormal( vec3 v ){
108108

109109

110110
vec3 calculateImageDiffuse(vec3 vNormal, vec3 vViewPosition, float metallic){
111-
// make 2 seperate builds
111+
// make 2 separate builds
112112
vec3 worldCameraPosition = vec3(0.0, 0.0, 0.0); // hardcoded world camera position
113113
vec3 worldNormal = normalize(vNormal * uCameraRotation);
114114
vec2 newTexCoor = mapTextureToNormal( worldNormal );

tasks/build/browserify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = function(grunt) {
3737
if (isDev) {
3838
globalVars['P5_DEV_BUILD'] = () => true;
3939
}
40-
// Invoke Browserify programatically to bundle the code
40+
// Invoke Browserify programmatically to bundle the code
4141
let browserified = browserify(srcFilePath, {
4242
standalone: 'p5',
4343
insertGlobalVars: globalVars

tasks/build/combineModules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = function(grunt) {
5252
// Target file path
5353
const libFilePath = path.resolve('lib/modules/' + filename);
5454

55-
// Invoke Browserify programatically to bundle the code
55+
// Invoke Browserify programmatically to bundle the code
5656
let browseified = browserify(tempFilePath, {
5757
standalone: 'p5'
5858
});

test/unit/core/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ suite('Environment', function() {
4141
frames += 1;
4242
assert.equal(myp5.frameCount, frames);
4343
if (frames === start + 5) {
44-
// Test 5 seperate redraws
44+
// Test 5 separate redraws
4545
myp5.noLoop();
4646
setTimeout(myp5.redraw.bind(myp5), 10);
4747
setTimeout(myp5.redraw.bind(myp5), 20);

test/unit/core/error_helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ suite('Error Helpers', function() {
522522
});
523523
});
524524

525-
// seperating in another suite because these don't need to initialize myp5
525+
// separating in another suite because these don't need to initialize myp5
526526
// for each test. Instead they initialize p5 in the iframe. These tests are
527527
// also slower than the above ones.
528528
suite('Global Error Handling', function() {

0 commit comments

Comments
 (0)