p5.js
p5.js copied to clipboard
p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processin...
Resolves https://github.com/processing/p5.js/issues/7059 Changes: Here's a combined sketch that demonstrates the `worldToScreen` function in both 2D and WebGL contexts. https://editor.p5js.org/Garima3110/sketches/ilpG7v9Cw Screenshots of the change: #### PR Checklist - [x] `npm run...
### Increasing access Proposal would simplify working with fonts. ### Most appropriate sub-area of p5.js? - [ ] Accessibility - [ ] Color - [ ] Core/Environment/Rendering - [ ]...
Resolves #6750 Changes: Screenshots of the change: [https://editor.p5js.org/forchapearl1/sketches/QilKPDTvv](https://editor.p5js.org/forchapearl1/sketches/QilKPDTvv) #### PR Checklist - [x] `npm run lint` passes - [x] [Inline documentation] is included / updated - [ ] [Unit tests]...
Resolves https://github.com/processing/p5.js/issues/7031 ## Changes - [x] Add hooks to existing shaders: - [x] `materialShader()` - [x] `normalShader()` - [x] `colorShader()` - [x] `strokeShader()` - [x] Add a `modify()` method to...
### Increasing access People who come from other frameworks and languages will have an easier time finding the relevant function for clamping numbers in p5.js. ### Most appropriate sub-area of...
Resolves #5861 Changes: Screenshots of the change:   #### PR Checklist - [x] `npm run lint` passes - [ ] [Inline documentation] is included / updated - [ ]...
### Most appropriate sub-area of p5.js? - [ ] Accessibility - [ ] Color - [X] Core/Environment/Rendering - [ ] Data - [ ] DOM - [ ] Events -...
### Most appropriate sub-area of p5.js? - [ ] Accessibility - [ ] Color - [ ] Core/Environment/Rendering - [ ] Data - [ ] DOM - [ ] Events...
Changes: Added spanish translation of friendly error system #### PR Checklist - [x] `npm run lint` passes - [ ] [Inline documentation] is included / updated - [ ] [Unit...
Resolves #6630 Changes: All the console.error in the codebase were replaced with p5._friendlyError. Since this is my first contribution kindly accept this. Screenshots of the change:  #### PR...