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...
### Increasing access A more flexible renderer system enables p5.js to be used in a larger variety of rendering situation that a user may need, eg. to be print medium,...
Resolves #6847 Changes: - Modified src/events/mouse.js to correctly update the mouseButton value upon releasing one mouse button. - Updated documentation in src/events/mouse.js accordingly. - Added unit test in test/unit/events/mouse.js to...
### Increasing access p5.js as a library is mostly about the easy to use syntax to enable drawing onto a virtual canvas that it provides its users, the underlying implementation...
### Most appropriate sub-area of p5.js? - [ ] Accessibility - [ ] Color - [ ] Core/Environment/Rendering - [ ] Data - [ ] DOM - [ ] Events...
### Increasing access Contrast is a key design principle for making elements distinguishable from one another. If there's low contrast between colors, no one will see the sketch. The proposal...
#### Most appropriate sub-area of p5.js? - [ ] Color - [x ] Core/Environment/Rendering - [ ] Data - [x] Dom - [ ] Events - [ ] Image -...
### Topic Hi, I'm building a multiplayer game using p5js. I would like to use the same classes for vectors and colors etc (like `p5.Color`, `p5.Vector`) on the server-side as...
### Topic #### Context: Node 16 reached its [end of life](https://nodejs.org/en/blog/announcements/nodejs16-eol) in September 2023 which may have prompted us to switch to Node 20. However, this wasn't done consistently for...
This is based off of https://github.com/processing/p5.js/pull/6777, so you can see just the new Typescript bits here: https://github.com/davepagurek/p5.js/compare/initial-conversion-script..tsc So it adds an `npm run types` command which generates, currently, `types/p5.rollup.esm.d.ts`. The...
### Increasing access xorshift128+ have a better overall randomness and speed as compared to the currently used LCG, although the speed aspect has been mostly observed in RNG implemented in...