p5 2.0.4-rc.2 → 2.0.4

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.
Files changed (74) hide show
  1. package/dist/accessibility/color_namer.js +4 -4
  2. package/dist/accessibility/index.js +4 -4
  3. package/dist/app.js +4 -4
  4. package/dist/color/color_conversion.js +4 -4
  5. package/dist/color/index.js +1 -1
  6. package/dist/color/setting.js +1 -1
  7. package/dist/{constants-BRtERydl.js → constants-C2DVjshm.js} +1 -1
  8. package/dist/core/constants.js +1 -1
  9. package/dist/core/environment.js +1 -1
  10. package/dist/core/friendly_errors/fes_core.js +1 -1
  11. package/dist/core/friendly_errors/index.js +1 -1
  12. package/dist/core/friendly_errors/param_validator.js +1 -1
  13. package/dist/core/friendly_errors/sketch_verifier.js +1 -1
  14. package/dist/core/helpers.js +1 -1
  15. package/dist/core/init.js +4 -4
  16. package/dist/core/legacy.js +4 -4
  17. package/dist/core/main.js +4 -4
  18. package/dist/core/p5.Graphics.js +3 -3
  19. package/dist/core/p5.Renderer.js +2 -2
  20. package/dist/core/p5.Renderer2D.js +4 -4
  21. package/dist/core/rendering.js +3 -3
  22. package/dist/dom/dom.js +1 -1
  23. package/dist/dom/index.js +1 -1
  24. package/dist/dom/p5.Element.js +1 -1
  25. package/dist/dom/p5.MediaElement.js +1 -1
  26. package/dist/image/const.js +1 -1
  27. package/dist/image/filterRenderer2D.js +3 -3
  28. package/dist/image/image.js +3 -3
  29. package/dist/image/index.js +3 -3
  30. package/dist/image/loading_displaying.js +3 -3
  31. package/dist/image/p5.Image.js +2 -2
  32. package/dist/io/files.js +3 -3
  33. package/dist/io/index.js +3 -3
  34. package/dist/{main-Cvl3QypC.js → main-rEhlsQtb.js} +3 -3
  35. package/dist/math/Matrices/Matrix.js +1 -1
  36. package/dist/math/Matrices/MatrixNumjs.js +1 -1
  37. package/dist/math/index.js +1 -1
  38. package/dist/math/p5.Matrix.js +1 -1
  39. package/dist/math/p5.Vector.js +1 -1
  40. package/dist/math/trigonometry.js +1 -1
  41. package/dist/{p5.Renderer-CRN9yEfw.js → p5.Renderer-DO9wIL55.js} +1 -1
  42. package/dist/{rendering-BVP_IL84.js → rendering-CpHn8PfG.js} +8 -8
  43. package/dist/shape/2d_primitives.js +1 -1
  44. package/dist/shape/attributes.js +1 -1
  45. package/dist/shape/custom_shapes.js +1 -1
  46. package/dist/shape/index.js +1 -1
  47. package/dist/type/index.js +2 -2
  48. package/dist/type/p5.Font.js +2 -2
  49. package/dist/type/textCore.js +2 -2
  50. package/dist/webgl/3d_primitives.js +3 -3
  51. package/dist/webgl/GeometryBuilder.js +1 -1
  52. package/dist/webgl/ShapeBuilder.js +1 -1
  53. package/dist/webgl/index.js +3 -3
  54. package/dist/webgl/interaction.js +1 -1
  55. package/dist/webgl/light.js +3 -3
  56. package/dist/webgl/loading.js +3 -3
  57. package/dist/webgl/material.js +3 -3
  58. package/dist/webgl/p5.Camera.js +3 -3
  59. package/dist/webgl/p5.Framebuffer.js +3 -3
  60. package/dist/webgl/p5.Geometry.js +1 -1
  61. package/dist/webgl/p5.Quat.js +1 -1
  62. package/dist/webgl/p5.RendererGL.js +3 -3
  63. package/dist/webgl/p5.Shader.js +3 -3
  64. package/dist/webgl/p5.Texture.js +3 -3
  65. package/dist/webgl/text.js +3 -3
  66. package/lib/p5.esm.js +8 -8
  67. package/lib/p5.esm.min.js +1 -1
  68. package/lib/p5.js +8 -8
  69. package/lib/p5.min.js +1 -1
  70. package/package.json +1 -1
  71. package/types/core/main.d.ts +46 -15
  72. package/types/global.d.ts +46 -15
  73. package/types/p5.d.ts +46 -15
  74. package/types/webgl/material.d.ts +46 -15
@@ -1,18 +1,18 @@
1
1
  import color_conversion from '../color/color_conversion.js';
2
- import '../main-Cvl3QypC.js';
3
- import '../constants-BRtERydl.js';
2
+ import '../main-rEhlsQtb.js';
3
+ import '../constants-C2DVjshm.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-BVP_IL84.js';
8
+ import '../rendering-CpHn8PfG.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-CRN9yEfw.js';
15
+ import '../p5.Renderer-DO9wIL55.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-Cvl3QypC.js';
8
- import '../constants-BRtERydl.js';
7
+ import '../main-rEhlsQtb.js';
8
+ import '../constants-C2DVjshm.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-BVP_IL84.js';
13
+ import '../rendering-CpHn8PfG.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-CRN9yEfw.js';
20
+ import '../p5.Renderer-DO9wIL55.js';
21
21
  import '../image/filters.js';
22
22
  import '../shape/custom_shapes.js';
23
23
  import '../core/States.js';
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { p as p5 } from './main-Cvl3QypC.js';
1
+ import { p as p5 } from './main-rEhlsQtb.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-BRtERydl.js';
16
+ import './constants-C2DVjshm.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-BVP_IL84.js';
21
+ import './rendering-CpHn8PfG.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-CRN9yEfw.js';
28
+ import './p5.Renderer-DO9wIL55.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-Cvl3QypC.js';
2
- import '../constants-BRtERydl.js';
1
+ import { p as p5 } from '../main-rEhlsQtb.js';
2
+ import '../constants-C2DVjshm.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-BVP_IL84.js';
7
+ import '../rendering-CpHn8PfG.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-CRN9yEfw.js';
14
+ import '../p5.Renderer-DO9wIL55.js';
15
15
  import '../image/filters.js';
16
16
  import '../shape/custom_shapes.js';
17
17
  import '../core/States.js';
@@ -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-BRtERydl.js';
5
+ import '../constants-C2DVjshm.js';
6
6
 
7
7
  function color(p5){
8
8
  p5.registerAddon(creatingReading);
@@ -1,4 +1,4 @@
1
- import { N as NORMAL, u as BLEND } from '../constants-BRtERydl.js';
1
+ import { N as NORMAL, u as BLEND } from '../constants-C2DVjshm.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';
@@ -11,7 +11,7 @@ const _PI = Math.PI;
11
11
  * @property {String} VERSION
12
12
  * @final
13
13
  */
14
- const VERSION = '2.0.4-rc.2';
14
+ const VERSION = '2.0.4';
15
15
 
16
16
  // GRAPHICS RENDERER
17
17
  /**
@@ -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-BRtERydl.js';
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-C2DVjshm.js';
@@ -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-BRtERydl.js';
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-C2DVjshm.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-BRtERydl.js';
3
+ import { v as constants } from '../../constants-C2DVjshm.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-BRtERydl.js';
10
+ import '../../constants-C2DVjshm.js';
11
11
  import 'zod/v4';
12
12
  import 'acorn';
13
13
  import 'acorn-walk';
@@ -1,4 +1,4 @@
1
- import { v as constants } from '../../constants-BRtERydl.js';
1
+ import { v as constants } from '../../constants-C2DVjshm.js';
2
2
  import { z } from 'zod/v4';
3
3
 
4
4
  var p5$1 = {
@@ -1,6 +1,6 @@
1
1
  import { parse } from 'acorn';
2
2
  import { simple } from 'acorn-walk';
3
- import { v as constants } from '../../constants-BRtERydl.js';
3
+ import { v as constants } from '../../constants-C2DVjshm.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.
@@ -1,4 +1,4 @@
1
- import { e as CORNER, i as CORNERS, a as RADIUS, C as CENTER } from '../constants-BRtERydl.js';
1
+ import { e as CORNER, i as CORNERS, a as RADIUS, C as CENTER } from '../constants-C2DVjshm.js';
2
2
 
3
3
  /**
4
4
  * @requires constants
package/dist/core/init.js CHANGED
@@ -1,18 +1,18 @@
1
- import { p as p5 } from '../main-Cvl3QypC.js';
1
+ import { p as p5 } from '../main-rEhlsQtb.js';
2
2
  import { initialize } from './internationalization.js';
3
- import '../constants-BRtERydl.js';
3
+ import '../constants-C2DVjshm.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-BVP_IL84.js';
8
+ import '../rendering-CpHn8PfG.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-CRN9yEfw.js';
15
+ import '../p5.Renderer-DO9wIL55.js';
16
16
  import '../image/filters.js';
17
17
  import '../shape/custom_shapes.js';
18
18
  import './States.js';
@@ -1,17 +1,17 @@
1
- import { p as p5 } from '../main-Cvl3QypC.js';
2
- import '../constants-BRtERydl.js';
1
+ import { p as p5 } from '../main-rEhlsQtb.js';
2
+ import '../constants-C2DVjshm.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-BVP_IL84.js';
7
+ import '../rendering-CpHn8PfG.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-CRN9yEfw.js';
14
+ import '../p5.Renderer-DO9wIL55.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-BRtERydl.js';
1
+ import '../constants-C2DVjshm.js';
2
2
  import './transform.js';
3
3
  import './structure.js';
4
4
  import './environment.js';
5
- import '../rendering-BVP_IL84.js';
6
- import '../p5.Renderer-CRN9yEfw.js';
7
- export { p as default } from '../main-Cvl3QypC.js';
5
+ import '../rendering-CpHn8PfG.js';
6
+ import '../p5.Renderer-DO9wIL55.js';
7
+ export { p as default } from '../main-rEhlsQtb.js';
8
8
  import '../math/p5.Vector.js';
9
9
  import '../creating_reading-BdolPjuO.js';
10
10
  import 'colorjs.io/fn';
@@ -1,11 +1,11 @@
1
- import '../constants-BRtERydl.js';
1
+ import '../constants-C2DVjshm.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-BVP_IL84.js';
8
+ export { G as Graphics, z as default } from '../rendering-CpHn8PfG.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-CRN9yEfw.js';
19
+ import '../p5.Renderer-DO9wIL55.js';
20
20
  import '../image/filters.js';
21
21
  import '../math/p5.Vector.js';
22
22
  import './States.js';
@@ -1,6 +1,6 @@
1
1
  import '../creating_reading-BdolPjuO.js';
2
- import '../constants-BRtERydl.js';
3
- export { R as Renderer, r as default } from '../p5.Renderer-CRN9yEfw.js';
2
+ import '../constants-C2DVjshm.js';
3
+ export { R as Renderer, r as default } from '../p5.Renderer-DO9wIL55.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-BRtERydl.js';
2
- export { R as Renderer2D, r as default } from '../main-Cvl3QypC.js';
3
- import '../p5.Renderer-CRN9yEfw.js';
4
- import '../rendering-BVP_IL84.js';
1
+ import '../constants-C2DVjshm.js';
2
+ export { R as Renderer2D, r as default } from '../main-rEhlsQtb.js';
3
+ import '../p5.Renderer-DO9wIL55.js';
4
+ import '../rendering-CpHn8PfG.js';
5
5
  import '../dom/p5.Element.js';
6
6
  import '../dom/p5.MediaElement.js';
7
7
  import '../creating_reading-BdolPjuO.js';
@@ -1,12 +1,12 @@
1
- import '../constants-BRtERydl.js';
2
- export { y as default, I as renderers } from '../rendering-BVP_IL84.js';
1
+ import '../constants-C2DVjshm.js';
2
+ export { y as default, I as renderers } from '../rendering-CpHn8PfG.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-CRN9yEfw.js';
9
+ import '../p5.Renderer-DO9wIL55.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
@@ -4,7 +4,7 @@ import { File } from './p5.File.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-BRtERydl.js';
7
+ import '../constants-C2DVjshm.js';
8
8
  import '../io/p5.XML.js';
9
9
 
10
10
  /**
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-BRtERydl.js';
8
+ import '../constants-C2DVjshm.js';
9
9
  import '../io/p5.XML.js';
10
10
 
11
11
  function dom(p5){
@@ -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-BRtERydl.js';
3
+ import { w as AUTO } from '../constants-C2DVjshm.js';
4
4
  import '../io/p5.XML.js';
5
5
  import 'colorjs.io/fn';
6
6
  import '../color/color_spaces/hsb.js';
@@ -4,7 +4,7 @@ import '../io/p5.XML.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-BRtERydl.js';
7
+ import '../constants-C2DVjshm.js';
8
8
 
9
9
  /**
10
10
  * @module DOM
@@ -1,4 +1,4 @@
1
- import { Z as THRESHOLD, U as POSTERIZE, $ as BLUR } from '../constants-BRtERydl.js';
1
+ import { Z as THRESHOLD, U as POSTERIZE, $ as BLUR } from '../constants-C2DVjshm.js';
2
2
 
3
3
  const filterParamDefaults = {
4
4
  [BLUR]: 3,
@@ -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-BVP_IL84.js';
2
- import { I as Image } from '../p5.Renderer-CRN9yEfw.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-BRtERydl.js';
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-CpHn8PfG.js';
2
+ import { I as Image } from '../p5.Renderer-DO9wIL55.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-C2DVjshm.js';
4
4
  import { filterParamDefaults } from './const.js';
5
5
  import '../creating_reading-BdolPjuO.js';
6
6
  import 'colorjs.io/fn';
@@ -1,13 +1,13 @@
1
1
  import 'omggif';
2
2
  import '../dom/p5.Element.js';
3
- export { i as default } from '../rendering-BVP_IL84.js';
3
+ export { i as default } from '../rendering-CpHn8PfG.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-BRtERydl.js';
10
- import '../p5.Renderer-CRN9yEfw.js';
9
+ import '../constants-C2DVjshm.js';
10
+ import '../p5.Renderer-DO9wIL55.js';
11
11
  import './filters.js';
12
12
  import '../math/p5.Vector.js';
13
13
  import '../shape/custom_shapes.js';
@@ -1,7 +1,7 @@
1
- import { i as image$1, b as loadingDisplaying, s as shader, t as texture } from '../rendering-BVP_IL84.js';
2
- import { i as image$2 } from '../p5.Renderer-CRN9yEfw.js';
1
+ import { i as image$1, b as loadingDisplaying, s as shader, t as texture } from '../rendering-CpHn8PfG.js';
2
+ import { i as image$2 } from '../p5.Renderer-DO9wIL55.js';
3
3
  import pixels from './pixels.js';
4
- import '../constants-BRtERydl.js';
4
+ import '../constants-C2DVjshm.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-BRtERydl.js';
3
- export { b as default } from '../rendering-BVP_IL84.js';
2
+ import '../constants-C2DVjshm.js';
3
+ export { b as default } from '../rendering-CpHn8PfG.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-CRN9yEfw.js';
12
+ import '../p5.Renderer-DO9wIL55.js';
13
13
  import './filters.js';
14
14
  import '../math/p5.Vector.js';
15
15
  import '../shape/custom_shapes.js';
@@ -1,10 +1,10 @@
1
1
  import './filters.js';
2
- export { I as Image, i as default } from '../p5.Renderer-CRN9yEfw.js';
2
+ export { I as Image, i as default } from '../p5.Renderer-DO9wIL55.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-BRtERydl.js';
7
+ import '../constants-C2DVjshm.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-CRN9yEfw.js';
2
- export { d as default, a as request } from '../rendering-BVP_IL84.js';
1
+ import '../p5.Renderer-DO9wIL55.js';
2
+ export { d as default, a as request } from '../rendering-CpHn8PfG.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-BRtERydl.js';
8
+ import '../constants-C2DVjshm.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-BVP_IL84.js';
1
+ import { d as files } from '../rendering-CpHn8PfG.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-BRtERydl.js';
5
+ import '../constants-C2DVjshm.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-CRN9yEfw.js';
11
+ import '../p5.Renderer-DO9wIL55.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-BRtERydl.js';
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-C2DVjshm.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-BVP_IL84.js';
6
- import { R as Renderer, I as Image, r as renderer } from './p5.Renderer-CRN9yEfw.js';
5
+ import { G as Graphics, y as rendering, z as graphics } from './rendering-CpHn8PfG.js';
6
+ import { R as Renderer, I as Image, r as renderer } from './p5.Renderer-DO9wIL55.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,6 +1,6 @@
1
1
  import { Vector } from '../p5.Vector.js';
2
2
  import { MatrixInterface } from './MatrixInterface.js';
3
- import '../../constants-BRtERydl.js';
3
+ import '../../constants-C2DVjshm.js';
4
4
 
5
5
  /**
6
6
  * @module Math
@@ -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-BRtERydl.js';
4
+ import '../../constants-C2DVjshm.js';
5
5
 
6
6
  let isMatrixArray = (x) => Array.isArray(x);
7
7
  if (typeof Float32Array !== "undefined") {
@@ -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-BRtERydl.js';
7
+ import '../constants-C2DVjshm.js';
8
8
 
9
9
  function math(p5){
10
10
  p5.registerAddon(calculation);
@@ -1,6 +1,6 @@
1
1
  import { Matrix } from './Matrices/Matrix.js';
2
2
  import './p5.Vector.js';
3
- import '../constants-BRtERydl.js';
3
+ import '../constants-C2DVjshm.js';
4
4
  import './Matrices/MatrixInterface.js';
5
5
 
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { f as TWO_PI } from '../constants-BRtERydl.js';
1
+ import { f as TWO_PI } from '../constants-C2DVjshm.js';
2
2
 
3
3
  /**
4
4
  * @module Math
@@ -1,4 +1,4 @@
1
- import { x as RAD_TO_DEG, D as DEG_TO_RAD } from '../constants-BRtERydl.js';
1
+ import { x as RAD_TO_DEG, D as DEG_TO_RAD } from '../constants-C2DVjshm.js';
2
2
 
3
3
  /**
4
4
  * @module Math
@@ -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-BRtERydl.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-C2DVjshm.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-BRtERydl.js';
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-C2DVjshm.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-CRN9yEfw.js';
4
+ import { R as Renderer, I as Image } from './p5.Renderer-DO9wIL55.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';
@@ -19825,18 +19825,18 @@ function material(p5, fn){
19825
19825
  * to the pixel at coordinates `(u, v)` within an image. For example, the
19826
19826
  * corners of a rectangular image are mapped to the corners of a rectangle by default:
19827
19827
  *
19828
- * <code>
19828
+ * ```js
19829
19829
  * // Apply the image as a texture.
19830
19830
  * texture(img);
19831
19831
  *
19832
19832
  * // Draw the rectangle.
19833
19833
  * rect(0, 0, 30, 50);
19834
- * </code>
19834
+ * ```
19835
19835
  *
19836
19836
  * If the image in the code snippet above has dimensions of 300 x 500 pixels,
19837
19837
  * the same result could be achieved as follows:
19838
19838
  *
19839
- * <code>
19839
+ * ```js
19840
19840
  * // Apply the image as a texture.
19841
19841
  * texture(img);
19842
19842
  *
@@ -19860,7 +19860,7 @@ function material(p5, fn){
19860
19860
  * vertex(0, 50, 0, 0, 500);
19861
19861
  *
19862
19862
  * endShape();
19863
- * </code>
19863
+ * ```
19864
19864
  *
19865
19865
  * `textureMode()` changes the coordinate system for uv coordinates.
19866
19866
  *
@@ -19870,7 +19870,7 @@ function material(p5, fn){
19870
19870
  * be helpful for using the same code for multiple images of different sizes.
19871
19871
  * For example, the code snippet above could be rewritten as follows:
19872
19872
  *
19873
- * <code>
19873
+ * ```js
19874
19874
  * // Set the texture mode to use normalized coordinates.
19875
19875
  * textureMode(NORMAL);
19876
19876
  *
@@ -19897,7 +19897,7 @@ function material(p5, fn){
19897
19897
  * vertex(0, 50, 0, 0, 1);
19898
19898
  *
19899
19899
  * endShape();
19900
- * </code>
19900
+ * ```
19901
19901
  *
19902
19902
  * By default, `mode` is `IMAGE`, which scales uv coordinates to the
19903
19903
  * dimensions of the image. Calling `textureMode(IMAGE)` applies the default.
@@ -1,4 +1,4 @@
1
- import { e as CORNER, f as TWO_PI, g as HALF_PI, h as PI } from '../constants-BRtERydl.js';
1
+ import { e as CORNER, f as TWO_PI, g as HALF_PI, h as PI } from '../constants-C2DVjshm.js';
2
2
  import canvas from '../core/helpers.js';
3
3
 
4
4
  /**