p5 2.2.1 → 2.2.2-rc.1
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 +6 -6
- package/dist/accessibility/index.js +6 -6
- package/dist/app.js +6 -6
- package/dist/color/color_conversion.js +6 -6
- 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-DQyACdzq.js → constants-DAnmXDew.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 +2 -2
- package/dist/core/helpers.js +1 -1
- package/dist/core/init.js +6 -6
- package/dist/core/internationalization.js +1 -1
- package/dist/core/legacy.js +6 -6
- package/dist/core/main.js +6 -6
- package/dist/core/p5.Graphics.js +4 -4
- package/dist/core/p5.Renderer.js +3 -3
- package/dist/core/p5.Renderer2D.js +6 -6
- 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 +5 -5
- 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/{ir_builders-DXNgaB9N.js → ir_builders-w12-GSxu.js} +37 -5
- package/dist/{main-DvN69W3f.js → main-E-swj5tF.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-D-5LdCRz.js → p5.Renderer-DOk9UW65.js} +2 -2
- package/dist/{rendering-h9unX5K0.js → rendering-B8V5Zt4k.js} +58 -14
- 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/ir_builders.js +1 -1
- package/dist/strands/p5.strands.js +1 -1
- package/dist/strands/strands_api.js +91 -31
- package/dist/strands/strands_conditionals.js +1 -1
- package/dist/strands/strands_for.js +2 -2
- package/dist/strands/strands_node.js +1 -1
- 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 +5 -5
- package/dist/webgl/interaction.js +1 -1
- package/dist/webgl/light.js +4 -4
- package/dist/webgl/loading.js +12 -14
- 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 +5 -5
- package/dist/webgl/p5.Texture.js +4 -4
- package/dist/webgl/strands_glslBackend.js +1 -1
- package/dist/webgl/text.js +5 -5
- package/dist/webgl/utils.js +4 -4
- package/dist/webgpu/index.js +2 -2
- package/dist/webgpu/p5.RendererWebGPU.js +13 -4
- package/dist/webgpu/strands_wgslBackend.js +5 -4
- package/lib/p5.esm.js +196 -62
- package/lib/p5.esm.min.js +1 -1
- package/lib/p5.js +196 -62
- package/lib/p5.min.js +1 -1
- package/lib/p5.webgpu.esm.js +51 -9
- package/lib/p5.webgpu.js +51 -9
- package/lib/p5.webgpu.min.js +1 -1
- package/package.json +1 -1
- package/types/global.d.ts +1453 -1383
- package/types/p5.d.ts +729 -694
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import color_conversion from '../color/color_conversion.js';
|
|
2
|
-
import '../main-
|
|
3
|
-
import '../constants-
|
|
2
|
+
import '../main-E-swj5tF.js';
|
|
3
|
+
import '../constants-DAnmXDew.js';
|
|
4
4
|
import '../core/transform.js';
|
|
5
5
|
import '../core/structure.js';
|
|
6
6
|
import '../core/environment.js';
|
|
7
|
-
import '../rendering-
|
|
8
|
-
import '../creating_reading-
|
|
7
|
+
import '../rendering-B8V5Zt4k.js';
|
|
8
|
+
import '../creating_reading-C7hu6sg1.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-DOk9UW65.js';
|
|
15
15
|
import '../image/filters.js';
|
|
16
16
|
import '../math/p5.Vector.js';
|
|
17
17
|
import '../shape/custom_shapes.js';
|
|
@@ -51,7 +51,7 @@ import '../webgl/strands_glslBackend.js';
|
|
|
51
51
|
import '../strands/ir_types.js';
|
|
52
52
|
import '../strands/ir_dag.js';
|
|
53
53
|
import '../strands/strands_FES.js';
|
|
54
|
-
import '../ir_builders-
|
|
54
|
+
import '../ir_builders-w12-GSxu.js';
|
|
55
55
|
import '../strands/ir_cfg.js';
|
|
56
56
|
import '../strands/strands_builtins.js';
|
|
57
57
|
import '../webgl/shaderHookUtils.js';
|
|
@@ -4,19 +4,19 @@ 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-E-swj5tF.js';
|
|
8
|
+
import '../constants-DAnmXDew.js';
|
|
9
9
|
import '../core/transform.js';
|
|
10
10
|
import '../core/structure.js';
|
|
11
11
|
import '../core/environment.js';
|
|
12
|
-
import '../rendering-
|
|
13
|
-
import '../creating_reading-
|
|
12
|
+
import '../rendering-B8V5Zt4k.js';
|
|
13
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
14
14
|
import 'colorjs.io/fn';
|
|
15
15
|
import '../color/color_spaces/hsb.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-DOk9UW65.js';
|
|
20
20
|
import '../image/filters.js';
|
|
21
21
|
import '../math/p5.Vector.js';
|
|
22
22
|
import '../shape/custom_shapes.js';
|
|
@@ -56,7 +56,7 @@ import '../webgl/strands_glslBackend.js';
|
|
|
56
56
|
import '../strands/ir_types.js';
|
|
57
57
|
import '../strands/ir_dag.js';
|
|
58
58
|
import '../strands/strands_FES.js';
|
|
59
|
-
import '../ir_builders-
|
|
59
|
+
import '../ir_builders-w12-GSxu.js';
|
|
60
60
|
import '../strands/ir_cfg.js';
|
|
61
61
|
import '../strands/strands_builtins.js';
|
|
62
62
|
import '../webgl/shaderHookUtils.js';
|
package/dist/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as p5 } from './main-
|
|
1
|
+
import { p as p5 } from './main-E-swj5tF.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';
|
|
@@ -15,18 +15,18 @@ import type from './type/index.js';
|
|
|
15
15
|
import shader from './webgl/p5.Shader.js';
|
|
16
16
|
import strands from './strands/p5.strands.js';
|
|
17
17
|
import { waitForDocumentReady, waitingForTranslator, _globalInit } from './core/init.js';
|
|
18
|
-
import './constants-
|
|
18
|
+
import './constants-DAnmXDew.js';
|
|
19
19
|
import './core/transform.js';
|
|
20
20
|
import './core/structure.js';
|
|
21
21
|
import './core/environment.js';
|
|
22
|
-
import './rendering-
|
|
23
|
-
import './creating_reading-
|
|
22
|
+
import './rendering-B8V5Zt4k.js';
|
|
23
|
+
import './creating_reading-C7hu6sg1.js';
|
|
24
24
|
import 'colorjs.io/fn';
|
|
25
25
|
import './color/color_spaces/hsb.js';
|
|
26
26
|
import './dom/p5.Element.js';
|
|
27
27
|
import './dom/p5.File.js';
|
|
28
28
|
import './io/p5.XML.js';
|
|
29
|
-
import './p5.Renderer-
|
|
29
|
+
import './p5.Renderer-DOk9UW65.js';
|
|
30
30
|
import './image/filters.js';
|
|
31
31
|
import './math/p5.Vector.js';
|
|
32
32
|
import './shape/custom_shapes.js';
|
|
@@ -65,7 +65,7 @@ import './webgl/strands_glslBackend.js';
|
|
|
65
65
|
import './strands/ir_types.js';
|
|
66
66
|
import './strands/ir_dag.js';
|
|
67
67
|
import './strands/strands_FES.js';
|
|
68
|
-
import './ir_builders-
|
|
68
|
+
import './ir_builders-w12-GSxu.js';
|
|
69
69
|
import './strands/ir_cfg.js';
|
|
70
70
|
import './strands/strands_builtins.js';
|
|
71
71
|
import './webgl/shaderHookUtils.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { p as p5 } from '../main-
|
|
2
|
-
import '../constants-
|
|
1
|
+
import { p as p5 } from '../main-E-swj5tF.js';
|
|
2
|
+
import '../constants-DAnmXDew.js';
|
|
3
3
|
import '../core/transform.js';
|
|
4
4
|
import '../core/structure.js';
|
|
5
5
|
import '../core/environment.js';
|
|
6
|
-
import '../rendering-
|
|
7
|
-
import '../creating_reading-
|
|
6
|
+
import '../rendering-B8V5Zt4k.js';
|
|
7
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
8
8
|
import 'colorjs.io/fn';
|
|
9
9
|
import './color_spaces/hsb.js';
|
|
10
10
|
import '../dom/p5.Element.js';
|
|
11
11
|
import '../dom/p5.File.js';
|
|
12
12
|
import '../io/p5.XML.js';
|
|
13
|
-
import '../p5.Renderer-
|
|
13
|
+
import '../p5.Renderer-DOk9UW65.js';
|
|
14
14
|
import '../image/filters.js';
|
|
15
15
|
import '../math/p5.Vector.js';
|
|
16
16
|
import '../shape/custom_shapes.js';
|
|
@@ -50,7 +50,7 @@ import '../webgl/strands_glslBackend.js';
|
|
|
50
50
|
import '../strands/ir_types.js';
|
|
51
51
|
import '../strands/ir_dag.js';
|
|
52
52
|
import '../strands/strands_FES.js';
|
|
53
|
-
import '../ir_builders-
|
|
53
|
+
import '../ir_builders-w12-GSxu.js';
|
|
54
54
|
import '../strands/ir_cfg.js';
|
|
55
55
|
import '../strands/strands_builtins.js';
|
|
56
56
|
import '../webgl/shaderHookUtils.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { H as HSB, d as HSL, e as HWB, L as LAB, f as LCH, O as OKLAB, g as OKLCH, R as RGB, h as RGBA, b as RGBHDR, c as default } from '../creating_reading-
|
|
1
|
+
export { H as HSB, d as HSL, e as HWB, L as LAB, f as LCH, O as OKLAB, g as OKLCH, R as RGB, h as RGBA, b as RGBHDR, c as default } from '../creating_reading-C7hu6sg1.js';
|
|
2
2
|
import 'colorjs.io/fn';
|
|
3
3
|
import './color_spaces/hsb.js';
|
package/dist/color/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as creatingReading, a as color$1 } from '../creating_reading-
|
|
1
|
+
import { c as creatingReading, a as color$1 } from '../creating_reading-C7hu6sg1.js';
|
|
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-DAnmXDew.js';
|
|
6
6
|
|
|
7
7
|
function color(p5){
|
|
8
8
|
p5.registerAddon(creatingReading);
|
package/dist/color/p5.Color.js
CHANGED
package/dist/color/setting.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a2 as NORMAL, B as BLEND } from '../constants-
|
|
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-
|
|
1
|
+
import { a2 as NORMAL, B as BLEND } from '../constants-DAnmXDew.js';
|
|
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-C7hu6sg1.js';
|
|
3
3
|
import 'colorjs.io/fn';
|
|
4
4
|
import './color_spaces/hsb.js';
|
|
5
5
|
|
package/dist/core/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ADD, aN as ALT, j as ARROW, a4 as AUTO, i as AXES, aO as BACKSPACE, ax as BASELINE, z as BEVEL, b7 as BEZIER, B as BLEND, ab as BLUR, b0 as BOLD, b1 as BOLDITALIC, aw as BOTTOM, as as BURN, v as CENTER, b2 as CHAR, au as CHORD, C as CLAMP, V as CLOSE, aC as CONTAIN, aP as CONTROL, p as CORNER, t as CORNERS, aB as COVER, k as CROSS, b8 as CURVE, D as DARKEST, a6 as DEG_TO_RAD, aQ as DELETE, an as DIFFERENCE, ah as DILATE, ar as DODGE, aR as DOWN_ARROW, O as EMPTY_PATH, aS as ENTER, ai as ERODE, aT as ESCAPE, a0 as EXCLUDE, E as EXCLUSION, be as FALLBACK, aD as FILL, a7 as FLAT, F as FLOAT, aF as FULL, ak as GRAY, G as GRID, H as HALF_FLOAT, r as HALF_PI, l as HAND, ap as HARD_LIGHT, ad as IMAGE, ba as IMMEDIATE, J as INCLUDE, aj as INVERT, a$ as ITALIC, a1 as JOIN, bd as LABEL, bb as LANDSCAPE, av as LEFT, aU as LEFT_ARROW, L as LIGHTEST, g as LINEAR, aG as LINEAR_MIPMAP, Y as LINES, aL as LINE_LOOP, aK as LINE_STRIP, e as MIRROR, I as MITER, m as MOVE, M as MULTIPLY, N as NEAREST, a2 as NORMAL, ag as OPAQUE, Q as OPEN, aV as OPTION, ao as OVERLAY, P as P2D, aH as P2DHDR, K as PATH, s as PI, at as PIE, X as POINTS, bc as PORTRAIT, af as POSTERIZE, y as PROJECT, b6 as QUADRATIC, Z as QUADS, $ as QUAD_STRIP, aI as QUARTER_PI, u as RADIUS, a5 as RAD_TO_DEG, b as REMOVE, f as REPEAT, R as REPLACE, aW as RETURN, a9 as RIGHT, aX as RIGHT_ARROW, w as ROUND, a as SCREEN, aY as SHIFT, aE as SIMPLE, a8 as SMOOTH, aq as SOFT_LIGHT, x as SQUARE, b9 as STROKE, S as SUBTRACT, aZ as TAB, aJ as TAU, aM as TESS, n as TEXT, h as TEXTURE, ae as THRESHOLD, ay as TOP, c as TRIANGLES, _ as TRIANGLE_FAN, T as TRIANGLE_STRIP, q as TWO_PI, U as UNSIGNED_BYTE, d as UNSIGNED_INT, a_ as UP_ARROW, az as VERSION, o as WAIT, ac as WEBGL, aa as WEBGL2, W as WEBGPU, aA as WORD, b5 as _CTX_MIDDLE, al as _DEFAULT_FILL, b4 as _DEFAULT_LEADMULT, am as _DEFAULT_STROKE, b3 as _DEFAULT_TEXT_FILL } from '../constants-
|
|
1
|
+
export { A as ADD, aN as ALT, j as ARROW, a4 as AUTO, i as AXES, aO as BACKSPACE, ax as BASELINE, z as BEVEL, b7 as BEZIER, B as BLEND, ab as BLUR, b0 as BOLD, b1 as BOLDITALIC, aw as BOTTOM, as as BURN, v as CENTER, b2 as CHAR, au as CHORD, C as CLAMP, V as CLOSE, aC as CONTAIN, aP as CONTROL, p as CORNER, t as CORNERS, aB as COVER, k as CROSS, b8 as CURVE, D as DARKEST, a6 as DEG_TO_RAD, aQ as DELETE, an as DIFFERENCE, ah as DILATE, ar as DODGE, aR as DOWN_ARROW, O as EMPTY_PATH, aS as ENTER, ai as ERODE, aT as ESCAPE, a0 as EXCLUDE, E as EXCLUSION, be as FALLBACK, aD as FILL, a7 as FLAT, F as FLOAT, aF as FULL, ak as GRAY, G as GRID, H as HALF_FLOAT, r as HALF_PI, l as HAND, ap as HARD_LIGHT, ad as IMAGE, ba as IMMEDIATE, J as INCLUDE, aj as INVERT, a$ as ITALIC, a1 as JOIN, bd as LABEL, bb as LANDSCAPE, av as LEFT, aU as LEFT_ARROW, L as LIGHTEST, g as LINEAR, aG as LINEAR_MIPMAP, Y as LINES, aL as LINE_LOOP, aK as LINE_STRIP, e as MIRROR, I as MITER, m as MOVE, M as MULTIPLY, N as NEAREST, a2 as NORMAL, ag as OPAQUE, Q as OPEN, aV as OPTION, ao as OVERLAY, P as P2D, aH as P2DHDR, K as PATH, s as PI, at as PIE, X as POINTS, bc as PORTRAIT, af as POSTERIZE, y as PROJECT, b6 as QUADRATIC, Z as QUADS, $ as QUAD_STRIP, aI as QUARTER_PI, u as RADIUS, a5 as RAD_TO_DEG, b as REMOVE, f as REPEAT, R as REPLACE, aW as RETURN, a9 as RIGHT, aX as RIGHT_ARROW, w as ROUND, a as SCREEN, aY as SHIFT, aE as SIMPLE, a8 as SMOOTH, aq as SOFT_LIGHT, x as SQUARE, b9 as STROKE, S as SUBTRACT, aZ as TAB, aJ as TAU, aM as TESS, n as TEXT, h as TEXTURE, ae as THRESHOLD, ay as TOP, c as TRIANGLES, _ as TRIANGLE_FAN, T as TRIANGLE_STRIP, q as TWO_PI, U as UNSIGNED_BYTE, d as UNSIGNED_INT, a_ as UP_ARROW, az as VERSION, o as WAIT, ac as WEBGL, aa as WEBGL2, W as WEBGPU, aA as WORD, b5 as _CTX_MIDDLE, al as _DEFAULT_FILL, b4 as _DEFAULT_LEADMULT, am as _DEFAULT_STROKE, b3 as _DEFAULT_TEXT_FILL } from '../constants-DAnmXDew.js';
|
package/dist/core/environment.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as ARROW, k as CROSS, l as HAND, m as MOVE, n as TEXT, o as WAIT, P as P2D } from '../constants-
|
|
1
|
+
import { j as ARROW, k as CROSS, l as HAND, m as MOVE, n as TEXT, o as WAIT, P as P2D } from '../constants-DAnmXDew.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @module Environment
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ag as OPAQUE, ah as DILATE, ai as ERODE, ab as BLUR, af as POSTERIZE, ae as THRESHOLD, aj as INVERT, ak as GRAY } from '../constants-
|
|
1
|
+
import { ag as OPAQUE, ah as DILATE, ai as ERODE, ab as BLUR, af as POSTERIZE, ae as THRESHOLD, aj as INVERT, ak as GRAY } from '../constants-DAnmXDew.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Creates p5.strands filter shaders for cross-platform compatibility.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { translator } from '../internationalization.js';
|
|
2
2
|
import strings from './browser_errors.js';
|
|
3
|
-
import { a3 as constants } from '../../constants-
|
|
3
|
+
import { a3 as constants } from '../../constants-DAnmXDew.js';
|
|
4
4
|
import 'i18next';
|
|
5
5
|
import 'i18next-browser-languagedetector';
|
|
6
6
|
|
|
@@ -6,7 +6,7 @@ import fileErrors from './file_errors.js';
|
|
|
6
6
|
import '../internationalization.js';
|
|
7
7
|
import 'i18next';
|
|
8
8
|
import 'i18next-browser-languagedetector';
|
|
9
|
-
import '../../constants-
|
|
9
|
+
import '../../constants-DAnmXDew.js';
|
|
10
10
|
import './browser_errors.js';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'acorn';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parse } from 'acorn';
|
|
2
2
|
import { simple } from 'acorn-walk';
|
|
3
|
-
import { a3 as constants } from '../../constants-
|
|
3
|
+
import { a3 as constants } from '../../constants-DAnmXDew.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.
|
|
@@ -80,7 +80,7 @@ const verifierUtils = {
|
|
|
80
80
|
|
|
81
81
|
try {
|
|
82
82
|
const ast = parse(code, {
|
|
83
|
-
ecmaVersion:
|
|
83
|
+
ecmaVersion: 'latest',
|
|
84
84
|
sourceType: 'module',
|
|
85
85
|
locations: true // This helps us get the line number.
|
|
86
86
|
});
|
package/dist/core/helpers.js
CHANGED
package/dist/core/init.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { p as p5 } from '../main-
|
|
1
|
+
import { p as p5 } from '../main-E-swj5tF.js';
|
|
2
2
|
import { initialize } from './internationalization.js';
|
|
3
|
-
import '../constants-
|
|
3
|
+
import '../constants-DAnmXDew.js';
|
|
4
4
|
import './transform.js';
|
|
5
5
|
import './structure.js';
|
|
6
6
|
import './environment.js';
|
|
7
|
-
import '../rendering-
|
|
8
|
-
import '../creating_reading-
|
|
7
|
+
import '../rendering-B8V5Zt4k.js';
|
|
8
|
+
import '../creating_reading-C7hu6sg1.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-DOk9UW65.js';
|
|
15
15
|
import '../image/filters.js';
|
|
16
16
|
import '../math/p5.Vector.js';
|
|
17
17
|
import '../shape/custom_shapes.js';
|
|
@@ -51,7 +51,7 @@ import '../webgl/strands_glslBackend.js';
|
|
|
51
51
|
import '../strands/ir_types.js';
|
|
52
52
|
import '../strands/ir_dag.js';
|
|
53
53
|
import '../strands/strands_FES.js';
|
|
54
|
-
import '../ir_builders-
|
|
54
|
+
import '../ir_builders-w12-GSxu.js';
|
|
55
55
|
import '../strands/ir_cfg.js';
|
|
56
56
|
import '../strands/strands_builtins.js';
|
|
57
57
|
import '../webgl/shaderHookUtils.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import i18next from 'i18next';
|
|
2
2
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
3
|
-
import { az as VERSION } from '../constants-
|
|
3
|
+
import { az as VERSION } from '../constants-DAnmXDew.js';
|
|
4
4
|
|
|
5
5
|
var fes = {
|
|
6
6
|
autoplay: "The media that tried to play (with '{{src}}') wasn't allowed to by this browser, most likely due to the browser's autoplay policy.\n\n+ More info: {{url}}",
|
package/dist/core/legacy.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { p as p5 } from '../main-
|
|
2
|
-
import '../constants-
|
|
1
|
+
import { p as p5 } from '../main-E-swj5tF.js';
|
|
2
|
+
import '../constants-DAnmXDew.js';
|
|
3
3
|
import './transform.js';
|
|
4
4
|
import './structure.js';
|
|
5
5
|
import './environment.js';
|
|
6
|
-
import '../rendering-
|
|
7
|
-
import '../creating_reading-
|
|
6
|
+
import '../rendering-B8V5Zt4k.js';
|
|
7
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
8
8
|
import 'colorjs.io/fn';
|
|
9
9
|
import '../color/color_spaces/hsb.js';
|
|
10
10
|
import '../dom/p5.Element.js';
|
|
11
11
|
import '../dom/p5.File.js';
|
|
12
12
|
import '../io/p5.XML.js';
|
|
13
|
-
import '../p5.Renderer-
|
|
13
|
+
import '../p5.Renderer-DOk9UW65.js';
|
|
14
14
|
import '../image/filters.js';
|
|
15
15
|
import '../math/p5.Vector.js';
|
|
16
16
|
import '../shape/custom_shapes.js';
|
|
@@ -50,7 +50,7 @@ import '../webgl/strands_glslBackend.js';
|
|
|
50
50
|
import '../strands/ir_types.js';
|
|
51
51
|
import '../strands/ir_dag.js';
|
|
52
52
|
import '../strands/strands_FES.js';
|
|
53
|
-
import '../ir_builders-
|
|
53
|
+
import '../ir_builders-w12-GSxu.js';
|
|
54
54
|
import '../strands/ir_cfg.js';
|
|
55
55
|
import '../strands/strands_builtins.js';
|
|
56
56
|
import '../webgl/shaderHookUtils.js';
|
package/dist/core/main.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../constants-
|
|
1
|
+
import '../constants-DAnmXDew.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-
|
|
8
|
-
import '../creating_reading-
|
|
5
|
+
import '../rendering-B8V5Zt4k.js';
|
|
6
|
+
import '../p5.Renderer-DOk9UW65.js';
|
|
7
|
+
export { p as default } from '../main-E-swj5tF.js';
|
|
8
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
9
9
|
import 'colorjs.io/fn';
|
|
10
10
|
import '../color/color_spaces/hsb.js';
|
|
11
11
|
import '../dom/p5.Element.js';
|
|
@@ -50,7 +50,7 @@ import '../webgl/strands_glslBackend.js';
|
|
|
50
50
|
import '../strands/ir_types.js';
|
|
51
51
|
import '../strands/ir_dag.js';
|
|
52
52
|
import '../strands/strands_FES.js';
|
|
53
|
-
import '../ir_builders-
|
|
53
|
+
import '../ir_builders-w12-GSxu.js';
|
|
54
54
|
import '../strands/ir_cfg.js';
|
|
55
55
|
import '../strands/strands_builtins.js';
|
|
56
56
|
import '../webgl/shaderHookUtils.js';
|
package/dist/core/p5.Graphics.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import '../constants-
|
|
1
|
+
import '../constants-DAnmXDew.js';
|
|
2
2
|
import '../shape/2d_primitives.js';
|
|
3
3
|
import '../shape/attributes.js';
|
|
4
4
|
import '../shape/curves.js';
|
|
5
5
|
import '../shape/vertex.js';
|
|
6
6
|
import '../color/setting.js';
|
|
7
|
-
export { G as Graphics, n as default } from '../rendering-
|
|
7
|
+
export { G as Graphics, n as default } from '../rendering-B8V5Zt4k.js';
|
|
8
8
|
import '../image/pixels.js';
|
|
9
9
|
import './transform.js';
|
|
10
|
-
import '../creating_reading-
|
|
10
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
11
11
|
import '../math/trigonometry.js';
|
|
12
12
|
import '../shape/custom_shapes.js';
|
|
13
13
|
import './helpers.js';
|
|
@@ -16,7 +16,7 @@ import '../color/color_spaces/hsb.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-DOk9UW65.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
|
-
import '../creating_reading-
|
|
2
|
-
import '../constants-
|
|
3
|
-
export { R as Renderer, r as default } from '../p5.Renderer-
|
|
1
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
2
|
+
import '../constants-DAnmXDew.js';
|
|
3
|
+
export { R as Renderer, r as default } from '../p5.Renderer-DOk9UW65.js';
|
|
4
4
|
import '../math/p5.Vector.js';
|
|
5
5
|
import '../shape/custom_shapes.js';
|
|
6
6
|
import './States.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import '../constants-
|
|
2
|
-
export { R as Renderer2D, r as default } from '../main-
|
|
3
|
-
import '../p5.Renderer-
|
|
4
|
-
import '../rendering-
|
|
1
|
+
import '../constants-DAnmXDew.js';
|
|
2
|
+
export { R as Renderer2D, r as default } from '../main-E-swj5tF.js';
|
|
3
|
+
import '../p5.Renderer-DOk9UW65.js';
|
|
4
|
+
import '../rendering-B8V5Zt4k.js';
|
|
5
5
|
import '../dom/p5.Element.js';
|
|
6
6
|
import '../dom/p5.MediaElement.js';
|
|
7
|
-
import '../creating_reading-
|
|
7
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
8
8
|
import '../image/filterRenderer2D.js';
|
|
9
9
|
import '../math/p5.Matrix.js';
|
|
10
10
|
import '../shape/custom_shapes.js';
|
|
@@ -50,7 +50,7 @@ import '../webgl/strands_glslBackend.js';
|
|
|
50
50
|
import '../strands/ir_types.js';
|
|
51
51
|
import '../strands/ir_dag.js';
|
|
52
52
|
import '../strands/strands_FES.js';
|
|
53
|
-
import '../ir_builders-
|
|
53
|
+
import '../ir_builders-w12-GSxu.js';
|
|
54
54
|
import '../strands/ir_cfg.js';
|
|
55
55
|
import '../strands/strands_builtins.js';
|
|
56
56
|
import '../webgl/shaderHookUtils.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../constants-
|
|
2
|
-
export { R as Renderer3D, r as default } from '../rendering-
|
|
3
|
-
import '../p5.Renderer-
|
|
1
|
+
import '../constants-DAnmXDew.js';
|
|
2
|
+
export { R as Renderer3D, r as default } from '../rendering-B8V5Zt4k.js';
|
|
3
|
+
import '../p5.Renderer-DOk9UW65.js';
|
|
4
4
|
import '../webgl/GeometryBuilder.js';
|
|
5
5
|
import '../math/p5.Matrix.js';
|
|
6
6
|
import '../math/p5.Vector.js';
|
|
@@ -8,7 +8,7 @@ import '../webgl/ShapeBuilder.js';
|
|
|
8
8
|
import '../webgl/GeometryBufferCache.js';
|
|
9
9
|
import '../image/const.js';
|
|
10
10
|
import '../shape/custom_shapes.js';
|
|
11
|
-
import '../creating_reading-
|
|
11
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
12
12
|
import '../dom/p5.Element.js';
|
|
13
13
|
import '../webgl/p5.DataArray.js';
|
|
14
14
|
import '../type/textCore.js';
|
package/dist/core/rendering.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../constants-
|
|
2
|
-
export { k as default, x as renderers } from '../rendering-
|
|
3
|
-
import '../creating_reading-
|
|
1
|
+
import '../constants-DAnmXDew.js';
|
|
2
|
+
export { k as default, x as renderers } from '../rendering-B8V5Zt4k.js';
|
|
3
|
+
import '../creating_reading-C7hu6sg1.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-DOk9UW65.js';
|
|
10
10
|
import '../image/filters.js';
|
|
11
11
|
import '../math/p5.Vector.js';
|
|
12
12
|
import '../shape/custom_shapes.js';
|
|
@@ -2471,11 +2471,11 @@ function creatingReading(p5, fn){
|
|
|
2471
2471
|
* values. 0 is equal to the first color, 0.1 is very near the first color,
|
|
2472
2472
|
* 0.5 is halfway between the two colors, and so on. Negative numbers are set
|
|
2473
2473
|
* to 0. Numbers greater than 1 are set to 1. This differs from the behavior of
|
|
2474
|
-
* <a href="#/lerp">lerp</a>. It's necessary because numbers outside of the
|
|
2474
|
+
* <a href="#/p5/lerp">lerp</a>. It's necessary because numbers outside of the
|
|
2475
2475
|
* interval [0, 1] will produce strange and unexpected colors.
|
|
2476
2476
|
*
|
|
2477
2477
|
* The way that colors are interpolated depends on the current
|
|
2478
|
-
* <a href="#/colorMode">colorMode()</a>.
|
|
2478
|
+
* <a href="#/p5/colorMode">colorMode()</a>.
|
|
2479
2479
|
*
|
|
2480
2480
|
* @method lerpColor
|
|
2481
2481
|
* @param {p5.Color} c1 interpolate from this color.
|
package/dist/dom/dom.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Element } from './p5.Element.js';
|
|
2
2
|
import { MediaElement } from './p5.MediaElement.js';
|
|
3
3
|
import { File } from './p5.File.js';
|
|
4
|
-
import '../creating_reading-
|
|
4
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
5
5
|
import 'colorjs.io/fn';
|
|
6
6
|
import '../color/color_spaces/hsb.js';
|
|
7
|
-
import '../constants-
|
|
7
|
+
import '../constants-DAnmXDew.js';
|
|
8
8
|
import '../io/p5.XML.js';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/dom/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import dom$1 from './dom.js';
|
|
|
2
2
|
import element from './p5.Element.js';
|
|
3
3
|
import media from './p5.MediaElement.js';
|
|
4
4
|
import file from './p5.File.js';
|
|
5
|
-
import '../creating_reading-
|
|
5
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
6
6
|
import 'colorjs.io/fn';
|
|
7
7
|
import '../color/color_spaces/hsb.js';
|
|
8
|
-
import '../constants-
|
|
8
|
+
import '../constants-DAnmXDew.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
|
-
import { C as Color } from '../creating_reading-
|
|
3
|
-
import { a4 as AUTO } from '../constants-
|
|
2
|
+
import { C as Color } from '../creating_reading-C7hu6sg1.js';
|
|
3
|
+
import { a4 as AUTO } from '../constants-DAnmXDew.js';
|
|
4
4
|
import '../io/p5.XML.js';
|
|
5
5
|
import 'colorjs.io/fn';
|
|
6
6
|
import '../color/color_spaces/hsb.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Element } from './p5.Element.js';
|
|
2
2
|
import './p5.File.js';
|
|
3
3
|
import '../io/p5.XML.js';
|
|
4
|
-
import '../creating_reading-
|
|
4
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
5
5
|
import 'colorjs.io/fn';
|
|
6
6
|
import '../color/color_spaces/hsb.js';
|
|
7
|
-
import '../constants-
|
|
7
|
+
import '../constants-DAnmXDew.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @module DOM
|
package/dist/image/const.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Shader } from '../webgl/p5.Shader.js';
|
|
2
|
-
import { s as setWebGLUniformValue, e as setWebGLTextureParams, g as getWebGLUniformMetadata, h as getWebGLShaderAttributes, j as populateGLSLHooks, T as Texture } from '../rendering-
|
|
3
|
-
import { I as Image } from '../p5.Renderer-
|
|
4
|
-
import { C as CLAMP, aa as WEBGL2, p as CORNER, B as BLEND, ab as BLUR, ac as WEBGL } from '../constants-
|
|
2
|
+
import { s as setWebGLUniformValue, e as setWebGLTextureParams, g as getWebGLUniformMetadata, h as getWebGLShaderAttributes, j as populateGLSLHooks, T as Texture } from '../rendering-B8V5Zt4k.js';
|
|
3
|
+
import { I as Image } from '../p5.Renderer-DOk9UW65.js';
|
|
4
|
+
import { C as CLAMP, aa as WEBGL2, p as CORNER, B as BLEND, ab as BLUR, ac as WEBGL } from '../constants-DAnmXDew.js';
|
|
5
5
|
import { filterParamDefaults } from './const.js';
|
|
6
6
|
import { w as webgl2CompatibilityShader, f as filterBaseVert, a as filterBaseFrag, n as noiseGLSL } from '../noise3DGLSL-Bwrdi4gi.js';
|
|
7
7
|
import { glslBackend } from '../webgl/strands_glslBackend.js';
|
|
8
8
|
import { getShaderHookTypes } from '../webgl/shaderHookUtils.js';
|
|
9
9
|
import { makeFilterShader } from '../core/filterShaders.js';
|
|
10
|
-
import '../creating_reading-
|
|
10
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
11
11
|
import 'colorjs.io/fn';
|
|
12
12
|
import '../color/color_spaces/hsb.js';
|
|
13
13
|
import '../dom/p5.Element.js';
|
|
@@ -47,7 +47,7 @@ import '../math/trigonometry.js';
|
|
|
47
47
|
import '../strands/ir_types.js';
|
|
48
48
|
import '../strands/ir_dag.js';
|
|
49
49
|
import '../strands/strands_FES.js';
|
|
50
|
-
import '../ir_builders-
|
|
50
|
+
import '../ir_builders-w12-GSxu.js';
|
|
51
51
|
import '../strands/ir_cfg.js';
|
|
52
52
|
import '../strands/strands_builtins.js';
|
|
53
53
|
|
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-B8V5Zt4k.js';
|
|
4
4
|
import '../dom/p5.File.js';
|
|
5
5
|
import '../io/p5.XML.js';
|
|
6
|
-
import '../creating_reading-
|
|
6
|
+
import '../creating_reading-C7hu6sg1.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-DAnmXDew.js';
|
|
10
|
+
import '../p5.Renderer-DOk9UW65.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,9 +1,9 @@
|
|
|
1
|
-
import { i as image$1, b as loadingDisplaying, t as texture } from '../rendering-
|
|
2
|
-
import { i as image$2 } from '../p5.Renderer-
|
|
1
|
+
import { i as image$1, b as loadingDisplaying, t as texture } from '../rendering-B8V5Zt4k.js';
|
|
2
|
+
import { i as image$2 } from '../p5.Renderer-DOk9UW65.js';
|
|
3
3
|
import pixels from './pixels.js';
|
|
4
4
|
import shader from '../webgl/p5.Shader.js';
|
|
5
|
-
import '../constants-
|
|
6
|
-
import '../creating_reading-
|
|
5
|
+
import '../constants-DAnmXDew.js';
|
|
6
|
+
import '../creating_reading-C7hu6sg1.js';
|
|
7
7
|
import 'colorjs.io/fn';
|
|
8
8
|
import '../color/color_spaces/hsb.js';
|
|
9
9
|
import '../dom/p5.Element.js';
|