p5 2.2.2-rc.0 → 2.2.2-rc.2
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/dist/accessibility/color_namer.js +5 -5
- package/dist/accessibility/index.js +5 -5
- package/dist/app.js +5 -5
- package/dist/color/color_conversion.js +5 -5
- package/dist/color/creating_reading.js +1 -1
- package/dist/color/index.js +2 -2
- package/dist/color/p5.Color.js +1 -1
- package/dist/color/setting.js +2 -2
- package/dist/{constants-D3npMLOW.js → constants--VqmEGYW.js} +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/environment.js +1 -1
- package/dist/core/filterShaders.js +1 -1
- package/dist/core/friendly_errors/fes_core.js +1 -1
- package/dist/core/friendly_errors/file_errors.js +1 -1
- package/dist/core/friendly_errors/index.js +1 -1
- package/dist/core/friendly_errors/param_validator.js +1 -1
- package/dist/core/friendly_errors/sketch_verifier.js +1 -1
- package/dist/core/helpers.js +1 -1
- package/dist/core/init.js +5 -5
- package/dist/core/internationalization.js +1 -1
- package/dist/core/legacy.js +5 -5
- package/dist/core/main.js +5 -5
- package/dist/core/p5.Graphics.js +4 -4
- package/dist/core/p5.Renderer.js +3 -3
- package/dist/core/p5.Renderer2D.js +5 -5
- package/dist/core/p5.Renderer3D.js +4 -4
- package/dist/core/rendering.js +4 -4
- package/dist/{creating_reading-ZXzcZEsb.js → creating_reading-C7hu6sg1.js} +2 -2
- package/dist/dom/dom.js +2 -2
- package/dist/dom/index.js +2 -2
- package/dist/dom/p5.Element.js +2 -2
- package/dist/dom/p5.MediaElement.js +2 -2
- package/dist/image/const.js +1 -1
- package/dist/image/filterRenderer2D.js +4 -4
- package/dist/image/image.js +4 -4
- package/dist/image/index.js +4 -4
- package/dist/image/loading_displaying.js +4 -4
- package/dist/image/p5.Image.js +3 -3
- package/dist/io/files.js +4 -4
- package/dist/io/index.js +4 -4
- package/dist/{main-C5AeICIY.js → main-DifEeQiX.js} +4 -4
- package/dist/math/Matrices/Matrix.js +1 -1
- package/dist/math/Matrices/MatrixNumjs.js +1 -1
- package/dist/math/index.js +1 -1
- package/dist/math/p5.Matrix.js +1 -1
- package/dist/math/p5.Vector.js +1 -1
- package/dist/math/trigonometry.js +1 -1
- package/dist/{p5.Renderer-xpFkUQC6.js → p5.Renderer-BuaG4snH.js} +2 -2
- package/dist/{rendering-B8po3Onj.js → rendering-uHkWQXtu.js} +3 -3
- package/dist/shape/2d_primitives.js +1 -1
- package/dist/shape/attributes.js +1 -1
- package/dist/shape/custom_shapes.js +2 -2
- package/dist/shape/index.js +2 -2
- package/dist/strands/strands_api.js +43 -14
- package/dist/type/index.js +3 -3
- package/dist/type/p5.Font.js +3 -3
- package/dist/type/textCore.js +3 -3
- package/dist/webgl/3d_primitives.js +4 -4
- package/dist/webgl/GeometryBuilder.js +1 -1
- package/dist/webgl/ShapeBuilder.js +1 -1
- package/dist/webgl/enums.js +1 -1
- package/dist/webgl/index.js +4 -4
- package/dist/webgl/interaction.js +1 -1
- package/dist/webgl/light.js +4 -4
- package/dist/webgl/loading.js +4 -4
- package/dist/webgl/material.js +4 -4
- package/dist/webgl/p5.Camera.js +4 -4
- package/dist/webgl/p5.Framebuffer.js +4 -4
- package/dist/webgl/p5.Geometry.js +1 -1
- package/dist/webgl/p5.Quat.js +1 -1
- package/dist/webgl/p5.RendererGL.js +4 -4
- package/dist/webgl/p5.Texture.js +4 -4
- package/dist/webgl/text.js +4 -4
- package/dist/webgl/utils.js +4 -4
- package/dist/webgpu/index.js +1 -1
- package/dist/webgpu/p5.RendererWebGPU.js +2 -2
- package/lib/p5.esm.js +47 -18
- package/lib/p5.esm.min.js +1 -1
- package/lib/p5.js +47 -18
- package/lib/p5.min.js +1 -1
- package/lib/p5.webgpu.esm.js +2 -2
- package/lib/p5.webgpu.js +2 -2
- package/lib/p5.webgpu.min.js +1 -1
- package/package.json +1 -1
- package/types/global.d.ts +4 -4
- package/types/p5.d.ts +2 -2
package/package.json
CHANGED
package/types/global.d.ts
CHANGED
|
@@ -8031,11 +8031,11 @@ EXCLUDE: typeof P5.EXCLUDE;
|
|
|
8031
8031
|
* values. 0 is equal to the first color, 0.1 is very near the first color,
|
|
8032
8032
|
* 0.5 is halfway between the two colors, and so on. Negative numbers are set
|
|
8033
8033
|
* to 0. Numbers greater than 1 are set to 1. This differs from the behavior of
|
|
8034
|
-
* <a href="#/lerp">lerp</a>. It's necessary because numbers outside of the
|
|
8034
|
+
* <a href="#/p5/lerp">lerp</a>. It's necessary because numbers outside of the
|
|
8035
8035
|
* interval [0, 1] will produce strange and unexpected colors.
|
|
8036
8036
|
*
|
|
8037
8037
|
* The way that colors are interpolated depends on the current
|
|
8038
|
-
* <a href="#/colorMode">colorMode()</a>.
|
|
8038
|
+
* <a href="#/p5/colorMode">colorMode()</a>.
|
|
8039
8039
|
* @param c1 interpolate from this color.
|
|
8040
8040
|
* @param c2 interpolate to this color.
|
|
8041
8041
|
* @param amt number between 0 and 1.
|
|
@@ -19502,11 +19502,11 @@ function loadFont(path: string, successCallback?: (font: P5.Font) => any, failur
|
|
|
19502
19502
|
* values. 0 is equal to the first color, 0.1 is very near the first color,
|
|
19503
19503
|
* 0.5 is halfway between the two colors, and so on. Negative numbers are set
|
|
19504
19504
|
* to 0. Numbers greater than 1 are set to 1. This differs from the behavior of
|
|
19505
|
-
* <a href="#/lerp">lerp</a>. It's necessary because numbers outside of the
|
|
19505
|
+
* <a href="#/p5/lerp">lerp</a>. It's necessary because numbers outside of the
|
|
19506
19506
|
* interval [0, 1] will produce strange and unexpected colors.
|
|
19507
19507
|
*
|
|
19508
19508
|
* The way that colors are interpolated depends on the current
|
|
19509
|
-
* <a href="#/colorMode">colorMode()</a>.
|
|
19509
|
+
* <a href="#/p5/colorMode">colorMode()</a>.
|
|
19510
19510
|
* @param c1 interpolate from this color.
|
|
19511
19511
|
* @param c2 interpolate to this color.
|
|
19512
19512
|
* @param amt number between 0 and 1.
|
package/types/p5.d.ts
CHANGED
|
@@ -8459,11 +8459,11 @@ declare class p5 {
|
|
|
8459
8459
|
* values. 0 is equal to the first color, 0.1 is very near the first color,
|
|
8460
8460
|
* 0.5 is halfway between the two colors, and so on. Negative numbers are set
|
|
8461
8461
|
* to 0. Numbers greater than 1 are set to 1. This differs from the behavior of
|
|
8462
|
-
* <a href="#/lerp">lerp</a>. It's necessary because numbers outside of the
|
|
8462
|
+
* <a href="#/p5/lerp">lerp</a>. It's necessary because numbers outside of the
|
|
8463
8463
|
* interval [0, 1] will produce strange and unexpected colors.
|
|
8464
8464
|
*
|
|
8465
8465
|
* The way that colors are interpolated depends on the current
|
|
8466
|
-
* <a href="#/colorMode">colorMode()</a>.
|
|
8466
|
+
* <a href="#/p5/colorMode">colorMode()</a>.
|
|
8467
8467
|
* @param c1 interpolate from this color.
|
|
8468
8468
|
* @param c2 interpolate to this color.
|
|
8469
8469
|
* @param amt number between 0 and 1.
|