Skip to content
Merged
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
2 changes: 1 addition & 1 deletion contributor_docs/project_wrapups/DIVYANSHU_RAJ_GSOC_20.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The introduction of es6 classes into the JS world , was a great relief for devel

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 .

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

[#502](https://github.com/processing/p5.js-sound/pull/502)
[#503](https://github.com/processing/p5.js-sound/pull/503)
Expand Down
2 changes: 1 addition & 1 deletion contributor_docs/project_wrapups/munusshih_gsoc_2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ In conclusion, I am grateful for my time working with p5.js typography during GS
## Features Requested

```jsx
If they're not dependent/relevant, we should do seperate PRs.
If they're not dependent/relevant, we should do separate PRs.
```

| Topic | Status | Coded? | PR? | Pushed? |
Expand Down
6 changes: 3 additions & 3 deletions lib/addons/p5.sound.js
Original file line number Diff line number Diff line change
Expand Up @@ -8308,7 +8308,7 @@ function reverb_setPrototypeOf(o, p) { reverb_setPrototypeOf = Object.setPrototy
/**
* Reverb adds depth to a sound through a large number of decaying
* echoes. It creates the perception that sound is occurring in a
* physical space. The p5.Reverb has paramters for Time (how long does the
* physical space. The p5.Reverb has parameters for Time (how long does the
* reverb last) and decayRate (how much the sound decays with each echo)
* that can be set with the .set() or .process() methods. The p5.Convolver
* extends p5.Reverb allowing you to recreate the sound of actual physical
Expand Down Expand Up @@ -9727,7 +9727,7 @@ function () {
soundLoop_classCallCheck(this, SoundLoop);

/**
* Getters and Setters, setting any paramter will result in a change in the clock's
* Getters and Setters, setting any parameter will result in a change in the clock's
* frequency, that will be reflected after the next callback
* beats per minute (defaults to 60)
* @property {Number} bpm
Expand Down Expand Up @@ -10110,7 +10110,7 @@ function (_Effect) {
this.set(attack, knee, ratio, threshold, release);
}
/**
* Set the paramters of a compressor.
* Set the parameters of a compressor.
* @method set
* @for p5.Compressor
* @param {Number} attack The amount of time (in seconds) to reduce the gain by 10dB,
Expand Down
2 changes: 1 addition & 1 deletion src/accessibility/outputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ p5.prototype._accsOutput = function(f, args) {
if (f === 'line') {
//make color stroke
include.color = this.ingredients.colors.stroke;
//get lenght
//get length
include.length = Math.round(this.dist(args[0], args[1], args[2], args[3]));
//get position of end points
let p1 = this._getPos(args[0], [1]);
Expand Down
2 changes: 1 addition & 1 deletion src/core/friendly_errors/sketch_reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ if (typeof IS_MINIFIED !== 'undefined') {

/**
* Converts code written by the user to an array
* every element of which is a seperate line of code.
* every element of which is a separate line of code.
*
* @method codeToLines
* @private
Expand Down
2 changes: 1 addition & 1 deletion src/webgl/shaders/lighting.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ vec2 mapTextureToNormal( vec3 v ){


vec3 calculateImageDiffuse(vec3 vNormal, vec3 vViewPosition, float metallic){
// make 2 seperate builds
// make 2 separate builds
vec3 worldCameraPosition = vec3(0.0, 0.0, 0.0); // hardcoded world camera position
vec3 worldNormal = normalize(vNormal * uCameraRotation);
vec2 newTexCoor = mapTextureToNormal( worldNormal );
Expand Down
2 changes: 1 addition & 1 deletion tasks/build/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = function(grunt) {
if (isDev) {
globalVars['P5_DEV_BUILD'] = () => true;
}
// Invoke Browserify programatically to bundle the code
// Invoke Browserify programmatically to bundle the code
let browserified = browserify(srcFilePath, {
standalone: 'p5',
insertGlobalVars: globalVars
Expand Down
2 changes: 1 addition & 1 deletion tasks/build/combineModules.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = function(grunt) {
// Target file path
const libFilePath = path.resolve('lib/modules/' + filename);

// Invoke Browserify programatically to bundle the code
// Invoke Browserify programmatically to bundle the code
let browseified = browserify(tempFilePath, {
standalone: 'p5'
});
Expand Down
2 changes: 1 addition & 1 deletion test/unit/core/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ suite('Environment', function() {
frames += 1;
assert.equal(myp5.frameCount, frames);
if (frames === start + 5) {
// Test 5 seperate redraws
// Test 5 separate redraws
myp5.noLoop();
setTimeout(myp5.redraw.bind(myp5), 10);
setTimeout(myp5.redraw.bind(myp5), 20);
Expand Down
2 changes: 1 addition & 1 deletion test/unit/core/error_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ suite('Error Helpers', function() {
});
});

// seperating in another suite because these don't need to initialize myp5
// separating in another suite because these don't need to initialize myp5
// for each test. Instead they initialize p5 in the iframe. These tests are
// also slower than the above ones.
suite('Global Error Handling', function() {
Expand Down
4 changes: 2 additions & 2 deletions test/unit/core/rendering.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ suite('Rendering', function() {
webglMethod + '() should throw a WEBGL assertion Error',
(function(webglMethod) {
return function() {
var validateParamters = myp5.validateParameters;
var validateParameters = myp5.validateParameters;
myp5.validateParameters = false;
try {
expect(function() {
myp5[webglMethod].call(myp5);
}).to.throw(Error, /is only supported in WEBGL mode/);
} finally {
myp5.validateParameters = validateParamters;
myp5.validateParameters = validateParameters;
}
};
})(webglMethod)
Expand Down