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...
Support 'JUSTIFIED' alignment as an option for textAlign(), so that we can have text that looks like below. Note: we would need to check that the optional 'width' param was...
#### Nature of issue? - [ ] Found a bug - [ ] Existing feature enhancement - [x] New feature request #### Most appropriate sub-area of p5.js? - [ ]...
@Spongman highlights in #3155 that there is a confusion between the properties `.elt` and `.canvas` causing us to write defensive code like so: https://github.com/processing/p5.js/blob/5a46133fdc3e8c42fda1c1888864cf499940d86d/src/core/p5.Renderer2D.js#L112 What is the purpose of having...
#### Nature of issue? - [X] Found a bug #### Most appropriate sub-area of p5.js? - [X] Color - `createGraphics()` - `set()` #### Which platform were you using when you...
If no one else minds, I would be interested in taking this on and converting the preloads to all use promises under the hood. I suggest this would involve adding...
I've been having some headaches with Color today - trying to get pixel colors from two images and then combining them using the hue value of one and the saturation...
### Most appropriate sub-area of p5.js? - [ ] Accessibility - [ ] Color - [ ] Core/Environment/Rendering - [ ] Data - [ ] DOM - [ ] Events...
### Increasing access While interpolating between 2 colors is easy with the `lerpColor()` function, interpolating between multiple can be annoying, and very difficult for beginners, especially for how commonly used...
Resolves [#6891](https://github.com/processing/p5.js/issues/6891) ## Changes Added a method called `createModel()` within `src/webgl/loading.js` that allows users to call for loading a obj or stl file from a plain text string within the...
### Topic This is pretty odd issue – but ever since p5.js version 1.8.0 was released, nearly all of my previous sketches which experiment with visual feedback, using `get()` (especially...