p5 2.0.0-beta.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/lib/p5.esm.js +697 -558
- package/lib/p5.js +697 -558
- package/lib/p5.min.js +1 -1
- package/package.json +1 -1
- package/src/core/p5.Renderer.js +19 -7
- package/src/math/math.js +1 -0
- package/src/shape/custom_shapes.js +552 -18
- package/src/shape/vertex.js +86 -423
- package/src/webgl/3d_primitives.js +12 -46
- package/src/webgl/loading.js +9 -0
- package/src/webgl/material.js +3 -1
- package/src/webgl/p5.RendererGL.js +0 -1
package/README.md
CHANGED
|
@@ -46,6 +46,15 @@ The p5.js community shares an interest in exploring the creation of art and desi
|
|
|
46
46
|
|
|
47
47
|
Learn more about [our community](https://p5js.org/community/) and read our community statement and [code of conduct](https://github.com/processing/p5.js/blob/main/CODE_OF_CONDUCT.md). You can directly support our work with p5.js by donating to [the Processing Foundation](https://processingfoundation.org/support).
|
|
48
48
|
|
|
49
|
+
## 🌼 p5.js 2.0 Now Available for Community Testing & Development!
|
|
50
|
+
|
|
51
|
+
We are releasing p5.js 2.0 to the community for testing and development! Here’s what you need to know.
|
|
52
|
+
|
|
53
|
+
* For **reference**: p5.js 1.x reference will stay on [https://p5js.org/](https://p5js.org/), and p5.js 2.x documentation will be on [https://beta.p5js.org/](https://beta.p5js.org/)
|
|
54
|
+
* In the p5.js Editor: the **default will continue to be 1.x** until at least August 2026 - more information and discussion on timeline can be found on [this Discourse thread](https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130) or [this GitHub thread](https://github.com/processing/p5.js/issues/7488)
|
|
55
|
+
* For updating sketches and add-on libraries: check out [the compatibility add-on libraries and guides](https://github.com/processing/p5.js-compatibility)
|
|
56
|
+
* For **contribution**: `npm latest` will default to 2.x, but the git branches are still separated with `main` on 1.x and `dev-2.0` on 2.x. We will switch the branches when we have updated all automations (including deploying updated documentation to the website). Want to contribute ideas or implementation? Check the [2.x project board](https://github.com/orgs/processing/projects/21/views/8) for an overview of what still needs discussion, and what’s ready for work!
|
|
57
|
+
|
|
49
58
|
## Issues
|
|
50
59
|
|
|
51
60
|
If you have found a bug in the p5.js library or want to request new features, feel free to file an issue! See our [contributor guidelines](https://p5js.org/contribute/contributor_guidelines) for a full reference of our contribution process. A set of templates for reporting issues and requesting features are provided to assist you (and us!). Different parts of p5.js are in different repositories. You can open an issue on each of them through these links:
|