p5 2.0.4 → 2.0.5
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 +1 -1
- package/dist/accessibility/color_namer.js +4 -4
- package/dist/accessibility/index.js +4 -4
- package/dist/accessibility/outputs.js +1 -1
- package/dist/app.js +4 -4
- package/dist/color/color_conversion.js +4 -4
- package/dist/color/index.js +1 -1
- package/dist/color/setting.js +1 -1
- package/dist/{constants-C2DVjshm.js → constants-8IpwyBct.js} +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/environment.js +1 -1
- package/dist/core/friendly_errors/fes_core.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 +4 -4
- package/dist/core/legacy.js +4 -4
- package/dist/core/main.js +4 -4
- package/dist/core/p5.Graphics.js +3 -3
- package/dist/core/p5.Renderer.js +2 -2
- package/dist/core/p5.Renderer2D.js +4 -4
- package/dist/core/rendering.js +3 -3
- package/dist/dom/dom.js +1 -1
- package/dist/dom/index.js +1 -1
- package/dist/dom/p5.Element.js +1 -1
- package/dist/dom/p5.MediaElement.js +1 -1
- package/dist/image/const.js +1 -1
- package/dist/image/filterRenderer2D.js +3 -3
- package/dist/image/image.js +3 -3
- package/dist/image/index.js +3 -3
- package/dist/image/loading_displaying.js +3 -3
- package/dist/image/p5.Image.js +2 -2
- package/dist/io/files.js +3 -3
- package/dist/io/index.js +3 -3
- package/dist/{main-rEhlsQtb.js → main-B3Z63C6j.js} +3 -3
- 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-DO9wIL55.js → p5.Renderer-DoDzbpcT.js} +1 -1
- package/dist/{rendering-CpHn8PfG.js → rendering-BELwvfI6.js} +3 -3
- package/dist/shape/2d_primitives.js +1 -1
- package/dist/shape/attributes.js +1 -1
- package/dist/shape/curves.js +143 -74
- package/dist/shape/custom_shapes.js +261 -277
- package/dist/shape/index.js +1 -1
- package/dist/type/index.js +2 -2
- package/dist/type/p5.Font.js +2 -2
- package/dist/type/textCore.js +2 -2
- package/dist/webgl/3d_primitives.js +3 -3
- package/dist/webgl/GeometryBuilder.js +1 -1
- package/dist/webgl/ShaderGenerator.js +10 -7
- package/dist/webgl/ShapeBuilder.js +1 -1
- package/dist/webgl/index.js +3 -3
- package/dist/webgl/interaction.js +1 -1
- package/dist/webgl/light.js +3 -3
- package/dist/webgl/loading.js +3 -3
- package/dist/webgl/material.js +3 -3
- package/dist/webgl/p5.Camera.js +3 -3
- package/dist/webgl/p5.Framebuffer.js +3 -3
- package/dist/webgl/p5.Geometry.js +1 -1
- package/dist/webgl/p5.Quat.js +1 -1
- package/dist/webgl/p5.RendererGL.js +3 -3
- package/dist/webgl/p5.Shader.js +3 -3
- package/dist/webgl/p5.Texture.js +3 -3
- package/dist/webgl/text.js +3 -3
- package/lib/p5.esm.js +414 -358
- package/lib/p5.esm.min.js +1 -1
- package/lib/p5.js +414 -358
- package/lib/p5.min.js +1 -1
- package/package.json +1 -1
- package/types/core/main.d.ts +87 -71
- package/types/global.d.ts +87 -71
- package/types/p5.d.ts +87 -71
- package/types/shape/curves.d.ts +130 -56
- package/types/shape/custom_shapes.d.ts +188 -252
package/README.md
CHANGED
|
@@ -112,7 +112,7 @@ Lead/Mentor Alumni
|
|
|
112
112
|
|
|
113
113
|
## Contributors
|
|
114
114
|
|
|
115
|
-
We recognize all types of contributions. This project follows the [all-contributors specification](https://github.com/all-contributors/all-contributors) and the [Emoji Key](https://
|
|
115
|
+
We recognize all types of contributions. This project follows the [all-contributors specification](https://github.com/all-contributors/all-contributors) and the [Emoji Key](https://github.com/all-contributors/all-contributors/blob/master/docs/emoji-key.md) ✨ for contribution types. Instructions to add yourself or add contribution emojis to your name are [here](https://github.com/processing/p5.js/issues/2309). You can also post an issue or comment on a pull request with the text: `@all-contributors please add @YOUR-USERNAME for THINGS` (where `THINGS` is a comma-separated list of entries from the [list of possible contribution types](https://github.com/all-contributors/all-contributors/blob/master/docs/emoji-key.md)) and our nice bot will add you.
|
|
116
116
|
|
|
117
117
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
118
118
|
<!-- prettier-ignore-start -->
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import color_conversion from '../color/color_conversion.js';
|
|
2
|
-
import '../main-
|
|
3
|
-
import '../constants-
|
|
2
|
+
import '../main-B3Z63C6j.js';
|
|
3
|
+
import '../constants-8IpwyBct.js';
|
|
4
4
|
import '../core/transform.js';
|
|
5
5
|
import '../core/structure.js';
|
|
6
6
|
import '../core/environment.js';
|
|
7
7
|
import '../math/p5.Vector.js';
|
|
8
|
-
import '../rendering-
|
|
8
|
+
import '../rendering-BELwvfI6.js';
|
|
9
9
|
import '../creating_reading-BdolPjuO.js';
|
|
10
10
|
import 'colorjs.io/fn';
|
|
11
11
|
import '../color/color_spaces/hsb.js';
|
|
12
12
|
import '../dom/p5.Element.js';
|
|
13
13
|
import '../dom/p5.File.js';
|
|
14
14
|
import '../io/p5.XML.js';
|
|
15
|
-
import '../p5.Renderer-
|
|
15
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
16
16
|
import '../image/filters.js';
|
|
17
17
|
import '../shape/custom_shapes.js';
|
|
18
18
|
import '../core/States.js';
|
|
@@ -4,20 +4,20 @@ import textOutput from './textOutput.js';
|
|
|
4
4
|
import outputs from './outputs.js';
|
|
5
5
|
import colorNamer from './color_namer.js';
|
|
6
6
|
import '../color/color_conversion.js';
|
|
7
|
-
import '../main-
|
|
8
|
-
import '../constants-
|
|
7
|
+
import '../main-B3Z63C6j.js';
|
|
8
|
+
import '../constants-8IpwyBct.js';
|
|
9
9
|
import '../core/transform.js';
|
|
10
10
|
import '../core/structure.js';
|
|
11
11
|
import '../core/environment.js';
|
|
12
12
|
import '../math/p5.Vector.js';
|
|
13
|
-
import '../rendering-
|
|
13
|
+
import '../rendering-BELwvfI6.js';
|
|
14
14
|
import '../creating_reading-BdolPjuO.js';
|
|
15
15
|
import 'colorjs.io/fn';
|
|
16
16
|
import '../color/color_spaces/hsb.js';
|
|
17
17
|
import '../dom/p5.Element.js';
|
|
18
18
|
import '../dom/p5.File.js';
|
|
19
19
|
import '../io/p5.XML.js';
|
|
20
|
-
import '../p5.Renderer-
|
|
20
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
21
21
|
import '../image/filters.js';
|
|
22
22
|
import '../shape/custom_shapes.js';
|
|
23
23
|
import '../core/States.js';
|
|
@@ -513,7 +513,7 @@ function outputs(p5, fn){
|
|
|
513
513
|
if (!this.ingredients.shapes[f]) {
|
|
514
514
|
this.ingredients.shapes[f] = [include];
|
|
515
515
|
//if other shapes of this type have been created
|
|
516
|
-
} else
|
|
516
|
+
} else {
|
|
517
517
|
//for every shape of this type
|
|
518
518
|
for (let y in this.ingredients.shapes[f]) {
|
|
519
519
|
//compare it with current shape and if it already exists make add false
|
package/dist/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as p5 } from './main-
|
|
1
|
+
import { p as p5 } from './main-B3Z63C6j.js';
|
|
2
2
|
import shape from './shape/index.js';
|
|
3
3
|
import accessibility from './accessibility/index.js';
|
|
4
4
|
import color from './color/index.js';
|
|
@@ -13,19 +13,19 @@ import utilities from './utilities/index.js';
|
|
|
13
13
|
import webgl from './webgl/index.js';
|
|
14
14
|
import type from './type/index.js';
|
|
15
15
|
import { waitForDocumentReady, waitingForTranslator, _globalInit } from './core/init.js';
|
|
16
|
-
import './constants-
|
|
16
|
+
import './constants-8IpwyBct.js';
|
|
17
17
|
import './core/transform.js';
|
|
18
18
|
import './core/structure.js';
|
|
19
19
|
import './core/environment.js';
|
|
20
20
|
import './math/p5.Vector.js';
|
|
21
|
-
import './rendering-
|
|
21
|
+
import './rendering-BELwvfI6.js';
|
|
22
22
|
import './creating_reading-BdolPjuO.js';
|
|
23
23
|
import 'colorjs.io/fn';
|
|
24
24
|
import './color/color_spaces/hsb.js';
|
|
25
25
|
import './dom/p5.Element.js';
|
|
26
26
|
import './dom/p5.File.js';
|
|
27
27
|
import './io/p5.XML.js';
|
|
28
|
-
import './p5.Renderer-
|
|
28
|
+
import './p5.Renderer-DoDzbpcT.js';
|
|
29
29
|
import './image/filters.js';
|
|
30
30
|
import './shape/custom_shapes.js';
|
|
31
31
|
import './core/States.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { p as p5 } from '../main-
|
|
2
|
-
import '../constants-
|
|
1
|
+
import { p as p5 } from '../main-B3Z63C6j.js';
|
|
2
|
+
import '../constants-8IpwyBct.js';
|
|
3
3
|
import '../core/transform.js';
|
|
4
4
|
import '../core/structure.js';
|
|
5
5
|
import '../core/environment.js';
|
|
6
6
|
import '../math/p5.Vector.js';
|
|
7
|
-
import '../rendering-
|
|
7
|
+
import '../rendering-BELwvfI6.js';
|
|
8
8
|
import '../creating_reading-BdolPjuO.js';
|
|
9
9
|
import 'colorjs.io/fn';
|
|
10
10
|
import './color_spaces/hsb.js';
|
|
11
11
|
import '../dom/p5.Element.js';
|
|
12
12
|
import '../dom/p5.File.js';
|
|
13
13
|
import '../io/p5.XML.js';
|
|
14
|
-
import '../p5.Renderer-
|
|
14
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
15
15
|
import '../image/filters.js';
|
|
16
16
|
import '../shape/custom_shapes.js';
|
|
17
17
|
import '../core/States.js';
|
package/dist/color/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { c as creatingReading, a as color$1 } from '../creating_reading-BdolPjuO
|
|
|
2
2
|
import setting from './setting.js';
|
|
3
3
|
import 'colorjs.io/fn';
|
|
4
4
|
import './color_spaces/hsb.js';
|
|
5
|
-
import '../constants-
|
|
5
|
+
import '../constants-8IpwyBct.js';
|
|
6
6
|
|
|
7
7
|
function color(p5){
|
|
8
8
|
p5.registerAddon(creatingReading);
|
package/dist/color/setting.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NORMAL, u as BLEND } from '../constants-
|
|
1
|
+
import { N as NORMAL, u as BLEND } from '../constants-8IpwyBct.js';
|
|
2
2
|
import { R as RGB, b as RGBHDR, H as HSB, d as HSL, e as HWB, L as LAB, f as LCH, O as OKLAB, g as OKLCH } from '../creating_reading-BdolPjuO.js';
|
|
3
3
|
import 'colorjs.io/fn';
|
|
4
4
|
import './color_spaces/hsb.js';
|
package/dist/core/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ai as ADD, aL as ALT, b as ARROW, w as AUTO, A as AXES, aM as BACKSPACE, an as BASELINE, B as BEVEL, b5 as BEZIER, u as BLEND, $ as BLUR, a_ as BOLD, a$ as BOLDITALIC, ar as BOTTOM, ah as BURN, C as CENTER, b0 as CHAR, ak as CHORD, at as CLAMP, n as CLOSE, aq as CONTAIN, aN as CONTROL, e as CORNER, i as CORNERS, ap as COVER, c as CROSS, b6 as CURVE, a6 as DARKEST, D as DEG_TO_RAD, aO as DELETE, a8 as DIFFERENCE, V as DILATE, ag as DODGE, aP as DOWN_ARROW, E as EMPTY_PATH, aQ as ENTER, Y as ERODE, aR as ESCAPE, t as EXCLUDE, aa as EXCLUSION, bc as FALLBACK, as as FILL, F as FLAT, aB as FLOAT, ax as FULL, X as GRAY, G as GRID, aD as HALF_FLOAT, g as HALF_PI, H as HAND, ae as HARD_LIGHT, a1 as IMAGE, b8 as IMMEDIATE, I as INCLUDE, _ as INVERT, aZ as ITALIC, J as JOIN, bb as LABEL, b9 as LANDSCAPE, ao as LEFT, aS as LEFT_ARROW, a7 as LIGHTEST, aC as LINEAR, L as LINES, aJ as LINE_LOOP, aI as LINE_STRIP, aA as MIRROR, l as MITER, M as MOVE, a9 as MULTIPLY, ay as NEAREST, N as NORMAL, K as OPAQUE, O as OPEN, aT as OPTION, ad as OVERLAY, P as P2D, aE as P2DHDR, m as PATH, h as PI, aj as PIE, o as POINTS, ba as PORTRAIT, U as POSTERIZE, k as PROJECT, b4 as QUADRATIC, Q as QUADS, s as QUAD_STRIP, aF as QUARTER_PI, a as RADIUS, x as RAD_TO_DEG, a4 as REMOVE, az as REPEAT, ac as REPLACE, aU as RETURN, R as RIGHT, aV as RIGHT_ARROW, j as ROUND, ab as SCREEN, aW as SHIFT, aw as SIMPLE, y as SMOOTH, af as SOFT_LIGHT, S as SQUARE, b7 as STROKE, a5 as SUBTRACT, aX as TAB, aG as TAU, aK as TESS, d as TEXT, T as TEXTURE, Z as THRESHOLD, aH as TOP, p as TRIANGLES, q as TRIANGLE_FAN, r as TRIANGLE_STRIP, f as TWO_PI, av as UNSIGNED_BYTE, au as UNSIGNED_INT, aY as UP_ARROW, al as VERSION, W as WAIT, a0 as WEBGL, z as WEBGL2, am as WORD, b3 as _CTX_MIDDLE, a2 as _DEFAULT_FILL, b2 as _DEFAULT_LEADMULT, a3 as _DEFAULT_STROKE, b1 as _DEFAULT_TEXT_FILL } from '../constants-
|
|
1
|
+
export { ai as ADD, aL as ALT, b as ARROW, w as AUTO, A as AXES, aM as BACKSPACE, an as BASELINE, B as BEVEL, b5 as BEZIER, u as BLEND, $ as BLUR, a_ as BOLD, a$ as BOLDITALIC, ar as BOTTOM, ah as BURN, C as CENTER, b0 as CHAR, ak as CHORD, at as CLAMP, n as CLOSE, aq as CONTAIN, aN as CONTROL, e as CORNER, i as CORNERS, ap as COVER, c as CROSS, b6 as CURVE, a6 as DARKEST, D as DEG_TO_RAD, aO as DELETE, a8 as DIFFERENCE, V as DILATE, ag as DODGE, aP as DOWN_ARROW, E as EMPTY_PATH, aQ as ENTER, Y as ERODE, aR as ESCAPE, t as EXCLUDE, aa as EXCLUSION, bc as FALLBACK, as as FILL, F as FLAT, aB as FLOAT, ax as FULL, X as GRAY, G as GRID, aD as HALF_FLOAT, g as HALF_PI, H as HAND, ae as HARD_LIGHT, a1 as IMAGE, b8 as IMMEDIATE, I as INCLUDE, _ as INVERT, aZ as ITALIC, J as JOIN, bb as LABEL, b9 as LANDSCAPE, ao as LEFT, aS as LEFT_ARROW, a7 as LIGHTEST, aC as LINEAR, L as LINES, aJ as LINE_LOOP, aI as LINE_STRIP, aA as MIRROR, l as MITER, M as MOVE, a9 as MULTIPLY, ay as NEAREST, N as NORMAL, K as OPAQUE, O as OPEN, aT as OPTION, ad as OVERLAY, P as P2D, aE as P2DHDR, m as PATH, h as PI, aj as PIE, o as POINTS, ba as PORTRAIT, U as POSTERIZE, k as PROJECT, b4 as QUADRATIC, Q as QUADS, s as QUAD_STRIP, aF as QUARTER_PI, a as RADIUS, x as RAD_TO_DEG, a4 as REMOVE, az as REPEAT, ac as REPLACE, aU as RETURN, R as RIGHT, aV as RIGHT_ARROW, j as ROUND, ab as SCREEN, aW as SHIFT, aw as SIMPLE, y as SMOOTH, af as SOFT_LIGHT, S as SQUARE, b7 as STROKE, a5 as SUBTRACT, aX as TAB, aG as TAU, aK as TESS, d as TEXT, T as TEXTURE, Z as THRESHOLD, aH as TOP, p as TRIANGLES, q as TRIANGLE_FAN, r as TRIANGLE_STRIP, f as TWO_PI, av as UNSIGNED_BYTE, au as UNSIGNED_INT, aY as UP_ARROW, al as VERSION, W as WAIT, a0 as WEBGL, z as WEBGL2, am as WORD, b3 as _CTX_MIDDLE, a2 as _DEFAULT_FILL, b2 as _DEFAULT_LEADMULT, a3 as _DEFAULT_STROKE, b1 as _DEFAULT_TEXT_FILL } from '../constants-8IpwyBct.js';
|
package/dist/core/environment.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as ARROW, c as CROSS, H as HAND, M as MOVE, d as TEXT, W as WAIT, P as P2D } from '../constants-
|
|
1
|
+
import { b as ARROW, c as CROSS, H as HAND, M as MOVE, d as TEXT, W as WAIT, P as P2D } from '../constants-8IpwyBct.js';
|
|
2
2
|
import '../math/p5.Vector.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { translator } from '../internationalization.js';
|
|
2
2
|
import strings from './browser_errors.js';
|
|
3
|
-
import { v as constants } from '../../constants-
|
|
3
|
+
import { v as constants } from '../../constants-8IpwyBct.js';
|
|
4
4
|
import 'i18next';
|
|
5
5
|
import 'i18next-browser-languagedetector';
|
|
6
6
|
|
|
@@ -7,7 +7,7 @@ import '../internationalization.js';
|
|
|
7
7
|
import 'i18next';
|
|
8
8
|
import 'i18next-browser-languagedetector';
|
|
9
9
|
import './browser_errors.js';
|
|
10
|
-
import '../../constants-
|
|
10
|
+
import '../../constants-8IpwyBct.js';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'acorn';
|
|
13
13
|
import 'acorn-walk';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parse } from 'acorn';
|
|
2
2
|
import { simple } from 'acorn-walk';
|
|
3
|
-
import { v as constants } from '../../constants-
|
|
3
|
+
import { v as constants } from '../../constants-8IpwyBct.js';
|
|
4
4
|
|
|
5
5
|
// List of functions to ignore as they either are meant to be re-defined or
|
|
6
6
|
// generate false positive outputs.
|
package/dist/core/helpers.js
CHANGED
package/dist/core/init.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { p as p5 } from '../main-
|
|
1
|
+
import { p as p5 } from '../main-B3Z63C6j.js';
|
|
2
2
|
import { initialize } from './internationalization.js';
|
|
3
|
-
import '../constants-
|
|
3
|
+
import '../constants-8IpwyBct.js';
|
|
4
4
|
import './transform.js';
|
|
5
5
|
import './structure.js';
|
|
6
6
|
import './environment.js';
|
|
7
7
|
import '../math/p5.Vector.js';
|
|
8
|
-
import '../rendering-
|
|
8
|
+
import '../rendering-BELwvfI6.js';
|
|
9
9
|
import '../creating_reading-BdolPjuO.js';
|
|
10
10
|
import 'colorjs.io/fn';
|
|
11
11
|
import '../color/color_spaces/hsb.js';
|
|
12
12
|
import '../dom/p5.Element.js';
|
|
13
13
|
import '../dom/p5.File.js';
|
|
14
14
|
import '../io/p5.XML.js';
|
|
15
|
-
import '../p5.Renderer-
|
|
15
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
16
16
|
import '../image/filters.js';
|
|
17
17
|
import '../shape/custom_shapes.js';
|
|
18
18
|
import './States.js';
|
package/dist/core/legacy.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { p as p5 } from '../main-
|
|
2
|
-
import '../constants-
|
|
1
|
+
import { p as p5 } from '../main-B3Z63C6j.js';
|
|
2
|
+
import '../constants-8IpwyBct.js';
|
|
3
3
|
import './transform.js';
|
|
4
4
|
import './structure.js';
|
|
5
5
|
import './environment.js';
|
|
6
6
|
import '../math/p5.Vector.js';
|
|
7
|
-
import '../rendering-
|
|
7
|
+
import '../rendering-BELwvfI6.js';
|
|
8
8
|
import '../creating_reading-BdolPjuO.js';
|
|
9
9
|
import 'colorjs.io/fn';
|
|
10
10
|
import '../color/color_spaces/hsb.js';
|
|
11
11
|
import '../dom/p5.Element.js';
|
|
12
12
|
import '../dom/p5.File.js';
|
|
13
13
|
import '../io/p5.XML.js';
|
|
14
|
-
import '../p5.Renderer-
|
|
14
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
15
15
|
import '../image/filters.js';
|
|
16
16
|
import '../shape/custom_shapes.js';
|
|
17
17
|
import './States.js';
|
package/dist/core/main.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import '../constants-
|
|
1
|
+
import '../constants-8IpwyBct.js';
|
|
2
2
|
import './transform.js';
|
|
3
3
|
import './structure.js';
|
|
4
4
|
import './environment.js';
|
|
5
|
-
import '../rendering-
|
|
6
|
-
import '../p5.Renderer-
|
|
7
|
-
export { p as default } from '../main-
|
|
5
|
+
import '../rendering-BELwvfI6.js';
|
|
6
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
7
|
+
export { p as default } from '../main-B3Z63C6j.js';
|
|
8
8
|
import '../math/p5.Vector.js';
|
|
9
9
|
import '../creating_reading-BdolPjuO.js';
|
|
10
10
|
import 'colorjs.io/fn';
|
package/dist/core/p5.Graphics.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../constants-
|
|
1
|
+
import '../constants-8IpwyBct.js';
|
|
2
2
|
import '../creating_reading-BdolPjuO.js';
|
|
3
3
|
import '../shape/2d_primitives.js';
|
|
4
4
|
import '../shape/attributes.js';
|
|
5
5
|
import '../shape/curves.js';
|
|
6
6
|
import '../shape/vertex.js';
|
|
7
7
|
import '../color/setting.js';
|
|
8
|
-
export { G as Graphics, z as default } from '../rendering-
|
|
8
|
+
export { G as Graphics, z as default } from '../rendering-BELwvfI6.js';
|
|
9
9
|
import '../image/pixels.js';
|
|
10
10
|
import './transform.js';
|
|
11
11
|
import '../math/trigonometry.js';
|
|
@@ -16,7 +16,7 @@ import './helpers.js';
|
|
|
16
16
|
import '../dom/p5.Element.js';
|
|
17
17
|
import '../dom/p5.File.js';
|
|
18
18
|
import '../io/p5.XML.js';
|
|
19
|
-
import '../p5.Renderer-
|
|
19
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
20
20
|
import '../image/filters.js';
|
|
21
21
|
import '../math/p5.Vector.js';
|
|
22
22
|
import './States.js';
|
package/dist/core/p5.Renderer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../creating_reading-BdolPjuO.js';
|
|
2
|
-
import '../constants-
|
|
3
|
-
export { R as Renderer, r as default } from '../p5.Renderer-
|
|
2
|
+
import '../constants-8IpwyBct.js';
|
|
3
|
+
export { R as Renderer, r as default } from '../p5.Renderer-DoDzbpcT.js';
|
|
4
4
|
import '../math/p5.Vector.js';
|
|
5
5
|
import '../shape/custom_shapes.js';
|
|
6
6
|
import './States.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '../constants-
|
|
2
|
-
export { R as Renderer2D, r as default } from '../main-
|
|
3
|
-
import '../p5.Renderer-
|
|
4
|
-
import '../rendering-
|
|
1
|
+
import '../constants-8IpwyBct.js';
|
|
2
|
+
export { R as Renderer2D, r as default } from '../main-B3Z63C6j.js';
|
|
3
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
4
|
+
import '../rendering-BELwvfI6.js';
|
|
5
5
|
import '../dom/p5.Element.js';
|
|
6
6
|
import '../dom/p5.MediaElement.js';
|
|
7
7
|
import '../creating_reading-BdolPjuO.js';
|
package/dist/core/rendering.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../constants-
|
|
2
|
-
export { y as default, I as renderers } from '../rendering-
|
|
1
|
+
import '../constants-8IpwyBct.js';
|
|
2
|
+
export { y as default, I as renderers } from '../rendering-BELwvfI6.js';
|
|
3
3
|
import '../creating_reading-BdolPjuO.js';
|
|
4
4
|
import 'colorjs.io/fn';
|
|
5
5
|
import '../color/color_spaces/hsb.js';
|
|
6
6
|
import '../dom/p5.Element.js';
|
|
7
7
|
import '../dom/p5.File.js';
|
|
8
8
|
import '../io/p5.XML.js';
|
|
9
|
-
import '../p5.Renderer-
|
|
9
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
10
10
|
import '../image/filters.js';
|
|
11
11
|
import '../math/p5.Vector.js';
|
|
12
12
|
import '../shape/custom_shapes.js';
|
package/dist/dom/dom.js
CHANGED
package/dist/dom/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import file from './p5.File.js';
|
|
|
5
5
|
import '../creating_reading-BdolPjuO.js';
|
|
6
6
|
import 'colorjs.io/fn';
|
|
7
7
|
import '../color/color_spaces/hsb.js';
|
|
8
|
-
import '../constants-
|
|
8
|
+
import '../constants-8IpwyBct.js';
|
|
9
9
|
import '../io/p5.XML.js';
|
|
10
10
|
|
|
11
11
|
function dom(p5){
|
package/dist/dom/p5.Element.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { File } from './p5.File.js';
|
|
2
2
|
import { C as Color } from '../creating_reading-BdolPjuO.js';
|
|
3
|
-
import { w as AUTO } from '../constants-
|
|
3
|
+
import { w as AUTO } from '../constants-8IpwyBct.js';
|
|
4
4
|
import '../io/p5.XML.js';
|
|
5
5
|
import 'colorjs.io/fn';
|
|
6
6
|
import '../color/color_spaces/hsb.js';
|
package/dist/image/const.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Texture, e as filterOpaqueFrag, g as filterPosterizeFrag, h as filterDilateFrag, j as filterGrayFrag, k as filterErodeFrag, n as filterThresholdFrag, o as filterInvertFrag, q as filterBlurFrag, S as Shader, w as webgl2CompatibilityShader, u as filterBaseVert, v as filterBaseFrag, x as filterShaderVert } from '../rendering-
|
|
2
|
-
import { I as Image } from '../p5.Renderer-
|
|
3
|
-
import { z as WEBGL2, K as OPAQUE, U as POSTERIZE, V as DILATE, X as GRAY, Y as ERODE, Z as THRESHOLD, _ as INVERT, $ as BLUR, e as CORNER, u as BLEND, a0 as WEBGL } from '../constants-
|
|
1
|
+
import { T as Texture, e as filterOpaqueFrag, g as filterPosterizeFrag, h as filterDilateFrag, j as filterGrayFrag, k as filterErodeFrag, n as filterThresholdFrag, o as filterInvertFrag, q as filterBlurFrag, S as Shader, w as webgl2CompatibilityShader, u as filterBaseVert, v as filterBaseFrag, x as filterShaderVert } from '../rendering-BELwvfI6.js';
|
|
2
|
+
import { I as Image } from '../p5.Renderer-DoDzbpcT.js';
|
|
3
|
+
import { z as WEBGL2, K as OPAQUE, U as POSTERIZE, V as DILATE, X as GRAY, Y as ERODE, Z as THRESHOLD, _ as INVERT, $ as BLUR, e as CORNER, u as BLEND, a0 as WEBGL } from '../constants-8IpwyBct.js';
|
|
4
4
|
import { filterParamDefaults } from './const.js';
|
|
5
5
|
import '../creating_reading-BdolPjuO.js';
|
|
6
6
|
import 'colorjs.io/fn';
|
package/dist/image/image.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import 'omggif';
|
|
2
2
|
import '../dom/p5.Element.js';
|
|
3
|
-
export { i as default } from '../rendering-
|
|
3
|
+
export { i as default } from '../rendering-BELwvfI6.js';
|
|
4
4
|
import '../dom/p5.File.js';
|
|
5
5
|
import '../io/p5.XML.js';
|
|
6
6
|
import '../creating_reading-BdolPjuO.js';
|
|
7
7
|
import 'colorjs.io/fn';
|
|
8
8
|
import '../color/color_spaces/hsb.js';
|
|
9
|
-
import '../constants-
|
|
10
|
-
import '../p5.Renderer-
|
|
9
|
+
import '../constants-8IpwyBct.js';
|
|
10
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
11
11
|
import './filters.js';
|
|
12
12
|
import '../math/p5.Vector.js';
|
|
13
13
|
import '../shape/custom_shapes.js';
|
package/dist/image/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as image$1, b as loadingDisplaying, s as shader, t as texture } from '../rendering-
|
|
2
|
-
import { i as image$2 } from '../p5.Renderer-
|
|
1
|
+
import { i as image$1, b as loadingDisplaying, s as shader, t as texture } from '../rendering-BELwvfI6.js';
|
|
2
|
+
import { i as image$2 } from '../p5.Renderer-DoDzbpcT.js';
|
|
3
3
|
import pixels from './pixels.js';
|
|
4
|
-
import '../constants-
|
|
4
|
+
import '../constants-8IpwyBct.js';
|
|
5
5
|
import '../creating_reading-BdolPjuO.js';
|
|
6
6
|
import 'colorjs.io/fn';
|
|
7
7
|
import '../color/color_spaces/hsb.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../core/helpers.js';
|
|
2
|
-
import '../constants-
|
|
3
|
-
export { b as default } from '../rendering-
|
|
2
|
+
import '../constants-8IpwyBct.js';
|
|
3
|
+
export { b as default } from '../rendering-BELwvfI6.js';
|
|
4
4
|
import 'omggif';
|
|
5
5
|
import 'gifenc';
|
|
6
6
|
import '../creating_reading-BdolPjuO.js';
|
|
@@ -9,7 +9,7 @@ import '../color/color_spaces/hsb.js';
|
|
|
9
9
|
import '../dom/p5.Element.js';
|
|
10
10
|
import '../dom/p5.File.js';
|
|
11
11
|
import '../io/p5.XML.js';
|
|
12
|
-
import '../p5.Renderer-
|
|
12
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
13
13
|
import './filters.js';
|
|
14
14
|
import '../math/p5.Vector.js';
|
|
15
15
|
import '../shape/custom_shapes.js';
|
package/dist/image/p5.Image.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './filters.js';
|
|
2
|
-
export { I as Image, i as default } from '../p5.Renderer-
|
|
2
|
+
export { I as Image, i as default } from '../p5.Renderer-DoDzbpcT.js';
|
|
3
3
|
import '../io/utilities.js';
|
|
4
4
|
import '../creating_reading-BdolPjuO.js';
|
|
5
5
|
import 'colorjs.io/fn';
|
|
6
6
|
import '../color/color_spaces/hsb.js';
|
|
7
|
-
import '../constants-
|
|
7
|
+
import '../constants-8IpwyBct.js';
|
|
8
8
|
import '../math/p5.Vector.js';
|
|
9
9
|
import '../shape/custom_shapes.js';
|
|
10
10
|
import '../core/States.js';
|
package/dist/io/files.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../p5.Renderer-
|
|
2
|
-
export { d as default, a as request } from '../rendering-
|
|
1
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
2
|
+
export { d as default, a as request } from '../rendering-BELwvfI6.js';
|
|
3
3
|
import './csv.js';
|
|
4
4
|
import './utilities.js';
|
|
5
5
|
import '../creating_reading-BdolPjuO.js';
|
|
6
6
|
import 'colorjs.io/fn';
|
|
7
7
|
import '../color/color_spaces/hsb.js';
|
|
8
|
-
import '../constants-
|
|
8
|
+
import '../constants-8IpwyBct.js';
|
|
9
9
|
import '../image/filters.js';
|
|
10
10
|
import '../math/p5.Vector.js';
|
|
11
11
|
import '../shape/custom_shapes.js';
|
package/dist/io/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { d as files } from '../rendering-
|
|
1
|
+
import { d as files } from '../rendering-BELwvfI6.js';
|
|
2
2
|
import table from './p5.Table.js';
|
|
3
3
|
import tableRow from './p5.TableRow.js';
|
|
4
4
|
import xml from './p5.XML.js';
|
|
5
|
-
import '../constants-
|
|
5
|
+
import '../constants-8IpwyBct.js';
|
|
6
6
|
import '../creating_reading-BdolPjuO.js';
|
|
7
7
|
import 'colorjs.io/fn';
|
|
8
8
|
import '../color/color_spaces/hsb.js';
|
|
9
9
|
import '../dom/p5.Element.js';
|
|
10
10
|
import '../dom/p5.File.js';
|
|
11
|
-
import '../p5.Renderer-
|
|
11
|
+
import '../p5.Renderer-DoDzbpcT.js';
|
|
12
12
|
import '../image/filters.js';
|
|
13
13
|
import '../math/p5.Vector.js';
|
|
14
14
|
import '../shape/custom_shapes.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as P2D, a0 as WEBGL, u as BLEND, a2 as _DEFAULT_FILL, a3 as _DEFAULT_STROKE, j as ROUND, a4 as REMOVE, a5 as SUBTRACT, a6 as DARKEST, a7 as LIGHTEST, a8 as DIFFERENCE, a9 as MULTIPLY, aa as EXCLUSION, ab as SCREEN, ac as REPLACE, ad as OVERLAY, ae as HARD_LIGHT, af as SOFT_LIGHT, ag as DODGE, ah as BURN, ai as ADD, aj as PIE, ak as CHORD, f as TWO_PI, S as SQUARE, k as PROJECT, B as BEVEL, l as MITER, O as OPEN, v as constants, al as VERSION } from './constants-
|
|
1
|
+
import { P as P2D, a0 as WEBGL, u as BLEND, a2 as _DEFAULT_FILL, a3 as _DEFAULT_STROKE, j as ROUND, a4 as REMOVE, a5 as SUBTRACT, a6 as DARKEST, a7 as LIGHTEST, a8 as DIFFERENCE, a9 as MULTIPLY, aa as EXCLUSION, ab as SCREEN, ac as REPLACE, ad as OVERLAY, ae as HARD_LIGHT, af as SOFT_LIGHT, ag as DODGE, ah as BURN, ai as ADD, aj as PIE, ak as CHORD, f as TWO_PI, S as SQUARE, k as PROJECT, B as BEVEL, l as MITER, O as OPEN, v as constants, al as VERSION } from './constants-8IpwyBct.js';
|
|
2
2
|
import transform from './core/transform.js';
|
|
3
3
|
import structure from './core/structure.js';
|
|
4
4
|
import environment from './core/environment.js';
|
|
5
|
-
import { G as Graphics, y as rendering, z as graphics } from './rendering-
|
|
6
|
-
import { R as Renderer, I as Image, r as renderer } from './p5.Renderer-
|
|
5
|
+
import { G as Graphics, y as rendering, z as graphics } from './rendering-BELwvfI6.js';
|
|
6
|
+
import { R as Renderer, I as Image, r as renderer } from './p5.Renderer-DoDzbpcT.js';
|
|
7
7
|
import { Element } from './dom/p5.Element.js';
|
|
8
8
|
import { MediaElement } from './dom/p5.MediaElement.js';
|
|
9
9
|
import { b as RGBHDR } from './creating_reading-BdolPjuO.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import nj from '@d4c/numjs/build/module/numjs.min.js';
|
|
2
2
|
import { Vector } from '../p5.Vector.js';
|
|
3
3
|
import { MatrixInterface } from './MatrixInterface.js';
|
|
4
|
-
import '../../constants-
|
|
4
|
+
import '../../constants-8IpwyBct.js';
|
|
5
5
|
|
|
6
6
|
let isMatrixArray = (x) => Array.isArray(x);
|
|
7
7
|
if (typeof Float32Array !== "undefined") {
|
package/dist/math/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import random from './random.js';
|
|
|
4
4
|
import trigonometry from './trigonometry.js';
|
|
5
5
|
import math$1 from './math.js';
|
|
6
6
|
import vector from './p5.Vector.js';
|
|
7
|
-
import '../constants-
|
|
7
|
+
import '../constants-8IpwyBct.js';
|
|
8
8
|
|
|
9
9
|
function math(p5){
|
|
10
10
|
p5.registerAddon(calculation);
|
package/dist/math/p5.Matrix.js
CHANGED
package/dist/math/p5.Vector.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as Color } from './creating_reading-BdolPjuO.js';
|
|
2
|
-
import { N as NORMAL, am as WORD, an as BASELINE, ao as LEFT, C as CENTER, e as CORNER, I as INCLUDE } from './constants-
|
|
2
|
+
import { N as NORMAL, am as WORD, an as BASELINE, ao as LEFT, C as CENTER, e as CORNER, I as INCLUDE } from './constants-8IpwyBct.js';
|
|
3
3
|
import Filters from './image/filters.js';
|
|
4
4
|
import { Vector } from './math/p5.Vector.js';
|
|
5
5
|
import { Shape } from './shape/custom_shapes.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as CORNER, i as CORNERS, C as CENTER, ap as COVER, aq as CONTAIN, R as RIGHT, ar as BOTTOM, u as BLEND, as as FILL, a1 as IMAGE, at as CLAMP, z as WEBGL2, j as ROUND, o as POINTS, L as LINES, p as TRIANGLES, a0 as WEBGL, $ as BLUR, a6 as DARKEST, a7 as LIGHTEST, ai as ADD, a5 as SUBTRACT, ab as SCREEN, aa as EXCLUSION, ac as REPLACE, a9 as MULTIPLY, a4 as REMOVE, ah as BURN, ad as OVERLAY, ae as HARD_LIGHT, af as SOFT_LIGHT, ag as DODGE, au as UNSIGNED_INT, av as UNSIGNED_BYTE, Z as THRESHOLD, _ as INVERT, K as OPAQUE, U as POSTERIZE, V as DILATE, Y as ERODE, X as GRAY, v as constants, aw as SIMPLE, ax as FULL, f as TWO_PI, O as OPEN, N as NORMAL, n as CLOSE, aj as PIE, ak as CHORD, T as TEXTURE, P as P2D, ay as NEAREST, az as REPEAT, aA as MIRROR, aB as FLOAT, aC as LINEAR, aD as HALF_FLOAT } from './constants-
|
|
1
|
+
import { e as CORNER, i as CORNERS, C as CENTER, ap as COVER, aq as CONTAIN, R as RIGHT, ar as BOTTOM, u as BLEND, as as FILL, a1 as IMAGE, at as CLAMP, z as WEBGL2, j as ROUND, o as POINTS, L as LINES, p as TRIANGLES, a0 as WEBGL, $ as BLUR, a6 as DARKEST, a7 as LIGHTEST, ai as ADD, a5 as SUBTRACT, ab as SCREEN, aa as EXCLUSION, ac as REPLACE, a9 as MULTIPLY, a4 as REMOVE, ah as BURN, ad as OVERLAY, ae as HARD_LIGHT, af as SOFT_LIGHT, ag as DODGE, au as UNSIGNED_INT, av as UNSIGNED_BYTE, Z as THRESHOLD, _ as INVERT, K as OPAQUE, U as POSTERIZE, V as DILATE, Y as ERODE, X as GRAY, v as constants, aw as SIMPLE, ax as FULL, f as TWO_PI, O as OPEN, N as NORMAL, n as CLOSE, aj as PIE, ak as CHORD, T as TEXTURE, P as P2D, ay as NEAREST, az as REPEAT, aA as MIRROR, aB as FLOAT, aC as LINEAR, aD as HALF_FLOAT } from './constants-8IpwyBct.js';
|
|
2
2
|
import { C as Color, c as creatingReading, h as RGBA, R as RGB } from './creating_reading-BdolPjuO.js';
|
|
3
3
|
import { Element } from './dom/p5.Element.js';
|
|
4
|
-
import { R as Renderer, I as Image } from './p5.Renderer-
|
|
4
|
+
import { R as Renderer, I as Image } from './p5.Renderer-DoDzbpcT.js';
|
|
5
5
|
import './dom/p5.MediaElement.js';
|
|
6
6
|
import primitives from './shape/2d_primitives.js';
|
|
7
7
|
import attributes from './shape/attributes.js';
|
|
@@ -10733,7 +10733,7 @@ class RendererGL extends Renderer {
|
|
|
10733
10733
|
|
|
10734
10734
|
_prepareUserAttributes(geometry, shader) {
|
|
10735
10735
|
for (const buff of this.buffers.user) {
|
|
10736
|
-
if (!this._pInst.constructor.
|
|
10736
|
+
if (!this._pInst.constructor.disableFriendlyErrors) {
|
|
10737
10737
|
// Check for the right data size
|
|
10738
10738
|
const prop = geometry.userVertexProperties[buff.attr];
|
|
10739
10739
|
if (prop) {
|
package/dist/shape/attributes.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CORNER, i as CORNERS, a as RADIUS, C as CENTER, j as ROUND, S as SQUARE, k as PROJECT, B as BEVEL, l as MITER } from '../constants-
|
|
1
|
+
import { e as CORNER, i as CORNERS, a as RADIUS, C as CENTER, j as ROUND, S as SQUARE, k as PROJECT, B as BEVEL, l as MITER } from '../constants-8IpwyBct.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @module Shape
|