p5 2.0.0 → 2.0.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.
Files changed (188) hide show
  1. package/{src → dist}/accessibility/color_namer.js +48 -3
  2. package/{src → dist}/accessibility/describe.js +2 -2
  3. package/{src → dist}/accessibility/gridOutput.js +2 -2
  4. package/dist/accessibility/index.js +60 -0
  5. package/{src → dist}/accessibility/outputs.js +2 -2
  6. package/{src → dist}/accessibility/textOutput.js +2 -2
  7. package/dist/app.js +120 -0
  8. package/{src → dist}/color/color_conversion.js +48 -10
  9. package/{src → dist}/color/color_spaces/hsb.js +3 -1
  10. package/dist/color/creating_reading.js +3 -0
  11. package/dist/color/index.js +13 -0
  12. package/dist/color/p5.Color.culori.js +1 -0
  13. package/dist/color/p5.Color.js +3 -0
  14. package/{src → dist}/color/setting.js +9 -6
  15. package/{src/core/constants.js → dist/constants-C-g_eAdC.js} +266 -130
  16. package/{src → dist}/core/States.js +3 -1
  17. package/dist/core/constants.js +1 -0
  18. package/{src → dist}/core/environment.js +7 -6
  19. package/{src → dist}/core/friendly_errors/browser_errors.js +1 -1
  20. package/{src → dist}/core/friendly_errors/fes_core.js +14 -44
  21. package/{src → dist}/core/friendly_errors/file_errors.js +6 -3
  22. package/dist/core/friendly_errors/index.js +23 -0
  23. package/dist/core/friendly_errors/param_validator.js +5455 -0
  24. package/{src → dist}/core/friendly_errors/sketch_reader.js +50 -4
  25. package/{src → dist}/core/friendly_errors/sketch_verifier.js +6 -6
  26. package/{src → dist}/core/friendly_errors/stacktrace.js +3 -5
  27. package/{src → dist}/core/friendly_errors/validate_params.js +50 -41
  28. package/{src → dist}/core/helpers.js +9 -6
  29. package/dist/core/init.js +105 -0
  30. package/dist/core/internationalization.js +302 -0
  31. package/dist/core/legacy.js +73 -0
  32. package/dist/core/main.js +44 -0
  33. package/dist/core/noop.js +3 -0
  34. package/dist/core/p5.Graphics.js +40 -0
  35. package/dist/core/p5.Renderer.js +11 -0
  36. package/dist/core/p5.Renderer2D.js +44 -0
  37. package/dist/core/reference.js +1 -0
  38. package/dist/core/rendering.js +40 -0
  39. package/{src → dist}/core/structure.js +3 -3
  40. package/{src → dist}/core/transform.js +2 -2
  41. package/{src/color/creating_reading.js → dist/creating_reading-D4AAKRbx.js} +841 -13
  42. package/{src → dist}/data/index.js +3 -1
  43. package/{src → dist}/data/local_storage.js +2 -8
  44. package/{src → dist}/dom/dom.js +11 -5
  45. package/dist/dom/index.js +18 -0
  46. package/{src → dist}/dom/p5.Element.js +14 -12
  47. package/{src → dist}/dom/p5.File.js +4 -4
  48. package/{src → dist}/dom/p5.MediaElement.js +10 -4
  49. package/{src → dist}/events/acceleration.js +2 -2
  50. package/{src → dist}/events/index.js +3 -1
  51. package/{src → dist}/events/keyboard.js +14 -11
  52. package/{src → dist}/events/pointer.js +16 -17
  53. package/dist/image/const.js +9 -0
  54. package/{src → dist}/image/filterRenderer2D.js +57 -37
  55. package/{src → dist}/image/filters.js +1 -3
  56. package/dist/image/image.js +40 -0
  57. package/dist/image/index.js +51 -0
  58. package/dist/image/loading_displaying.js +40 -0
  59. package/dist/image/p5.Image.js +11 -0
  60. package/{src → dist}/image/pixels.js +4 -3
  61. package/{src → dist}/io/csv.js +72 -70
  62. package/dist/io/files.js +40 -0
  63. package/dist/io/index.js +51 -0
  64. package/{src → dist}/io/p5.Table.js +6 -6
  65. package/{src → dist}/io/p5.TableRow.js +3 -4
  66. package/{src → dist}/io/p5.XML.js +2 -5
  67. package/{src → dist}/io/utilities.js +1 -1
  68. package/{src/core/p5.Renderer2D.js → dist/main-s72KWcUy.js} +735 -57
  69. package/{src → dist}/math/Matrices/Matrix.js +10 -8
  70. package/{src → dist}/math/Matrices/MatrixInterface.js +5 -3
  71. package/{src → dist}/math/Matrices/MatrixNumjs.js +12 -26
  72. package/{src → dist}/math/calculation.js +2 -2
  73. package/{src → dist}/math/index.js +6 -3
  74. package/{src → dist}/math/math.js +2 -2
  75. package/{src → dist}/math/noise.js +2 -2
  76. package/{src → dist}/math/p5.Matrix.js +7 -4
  77. package/{src → dist}/math/p5.Vector.js +6 -6
  78. package/{src → dist}/math/random.js +2 -2
  79. package/{src → dist}/math/trigonometry.js +16 -15
  80. package/{src/image/p5.Image.js → dist/p5.Renderer-CwAYZOC2.js} +390 -19
  81. package/dist/rendering--aAe5aq3.js +24925 -0
  82. package/{src → dist}/shape/2d_primitives.js +18 -17
  83. package/{src → dist}/shape/attributes.js +18 -17
  84. package/{src → dist}/shape/curves.js +2 -2
  85. package/{src → dist}/shape/custom_shapes.js +44 -64
  86. package/{src → dist}/shape/index.js +10 -2
  87. package/{src → dist}/shape/vertex.js +2 -3
  88. package/dist/type/index.js +25 -0
  89. package/{src → dist}/type/lib/Typr.js +76 -94
  90. package/{src → dist}/type/p5.Font.js +37 -61
  91. package/{src → dist}/type/textCore.js +34 -57
  92. package/{src → dist}/type/unicodeRanges.js +3 -1
  93. package/{src → dist}/utilities/conversion.js +2 -2
  94. package/{src → dist}/utilities/index.js +3 -1
  95. package/{src → dist}/utilities/time_date.js +6 -7
  96. package/{src → dist}/utilities/utility_functions.js +2 -2
  97. package/dist/webgl/3d_primitives.js +40 -0
  98. package/{src → dist}/webgl/GeometryBufferCache.js +3 -1
  99. package/{src → dist}/webgl/GeometryBuilder.js +12 -8
  100. package/{src → dist}/webgl/ShaderGenerator.js +79 -82
  101. package/{src → dist}/webgl/ShapeBuilder.js +26 -23
  102. package/dist/webgl/index.js +76 -0
  103. package/{src → dist}/webgl/interaction.js +7 -6
  104. package/dist/webgl/light.js +40 -0
  105. package/{src → dist}/webgl/loading.js +45 -12
  106. package/dist/webgl/material.js +40 -0
  107. package/dist/webgl/p5.Camera.js +40 -0
  108. package/{src → dist}/webgl/p5.DataArray.js +3 -5
  109. package/dist/webgl/p5.Framebuffer.js +40 -0
  110. package/{src → dist}/webgl/p5.Geometry.js +12 -15
  111. package/{src → dist}/webgl/p5.Quat.js +5 -4
  112. package/{src → dist}/webgl/p5.RenderBuffer.js +2 -3
  113. package/dist/webgl/p5.RendererGL.js +40 -0
  114. package/dist/webgl/p5.Shader.js +40 -0
  115. package/dist/webgl/p5.Texture.js +40 -0
  116. package/{src → dist}/webgl/text.js +51 -9
  117. package/lib/p5.esm.js +102 -48
  118. package/lib/p5.js +102 -48
  119. package/lib/p5.min.js +1 -1
  120. package/package.json +17 -16
  121. package/translations/dev.js +6 -6
  122. package/translations/index.js +1 -1
  123. package/src/README.md +0 -27
  124. package/src/accessibility/index.js +0 -13
  125. package/src/app.js +0 -61
  126. package/src/color/index.js +0 -9
  127. package/src/color/p5.Color.culori.js +0 -66
  128. package/src/color/p5.Color.js +0 -851
  129. package/src/core/README.md +0 -91
  130. package/src/core/friendly_errors/index.js +0 -13
  131. package/src/core/friendly_errors/param_validator.js +0 -561
  132. package/src/core/init.js +0 -58
  133. package/src/core/internationalization.js +0 -195
  134. package/src/core/legacy.js +0 -29
  135. package/src/core/main.js +0 -689
  136. package/src/core/noop.js +0 -1
  137. package/src/core/p5.Graphics.js +0 -696
  138. package/src/core/p5.Renderer.js +0 -408
  139. package/src/core/reference.js +0 -2060
  140. package/src/core/rendering.js +0 -697
  141. package/src/dom/index.js +0 -11
  142. package/src/image/const.js +0 -6
  143. package/src/image/image.js +0 -731
  144. package/src/image/index.js +0 -15
  145. package/src/image/loading_displaying.js +0 -1431
  146. package/src/io/files.js +0 -2210
  147. package/src/io/index.js +0 -11
  148. package/src/math/README.md +0 -40
  149. package/src/type/index.js +0 -9
  150. package/src/webgl/3d_primitives.js +0 -2741
  151. package/src/webgl/index.js +0 -37
  152. package/src/webgl/light.js +0 -1851
  153. package/src/webgl/material.js +0 -3854
  154. package/src/webgl/p5.Camera.js +0 -4010
  155. package/src/webgl/p5.Framebuffer.js +0 -1865
  156. package/src/webgl/p5.RendererGL.js +0 -2867
  157. package/src/webgl/p5.Shader.js +0 -1505
  158. package/src/webgl/p5.Texture.js +0 -541
  159. package/src/webgl/shaders/basic.frag +0 -6
  160. package/src/webgl/shaders/filters/base.frag +0 -22
  161. package/src/webgl/shaders/filters/base.vert +0 -19
  162. package/src/webgl/shaders/filters/blur.frag +0 -60
  163. package/src/webgl/shaders/filters/default.vert +0 -18
  164. package/src/webgl/shaders/filters/dilate.frag +0 -39
  165. package/src/webgl/shaders/filters/erode.frag +0 -39
  166. package/src/webgl/shaders/filters/gray.frag +0 -16
  167. package/src/webgl/shaders/filters/invert.frag +0 -15
  168. package/src/webgl/shaders/filters/opaque.frag +0 -12
  169. package/src/webgl/shaders/filters/posterize.frag +0 -29
  170. package/src/webgl/shaders/filters/threshold.frag +0 -23
  171. package/src/webgl/shaders/font.frag +0 -216
  172. package/src/webgl/shaders/font.vert +0 -44
  173. package/src/webgl/shaders/imageLight.vert +0 -33
  174. package/src/webgl/shaders/imageLightDiffused.frag +0 -82
  175. package/src/webgl/shaders/imageLightSpecular.frag +0 -134
  176. package/src/webgl/shaders/light.vert +0 -37
  177. package/src/webgl/shaders/light_texture.frag +0 -26
  178. package/src/webgl/shaders/lighting.glsl +0 -227
  179. package/src/webgl/shaders/line.frag +0 -74
  180. package/src/webgl/shaders/line.vert +0 -294
  181. package/src/webgl/shaders/normal.frag +0 -6
  182. package/src/webgl/shaders/normal.vert +0 -72
  183. package/src/webgl/shaders/phong.frag +0 -84
  184. package/src/webgl/shaders/phong.vert +0 -87
  185. package/src/webgl/shaders/point.frag +0 -29
  186. package/src/webgl/shaders/point.vert +0 -19
  187. package/src/webgl/shaders/sphereMapping.frag +0 -26
  188. package/src/webgl/shaders/webgl2Compatibility.glsl +0 -34
@@ -11,7 +11,7 @@ const _PI = Math.PI;
11
11
  * @property {String} VERSION
12
12
  * @final
13
13
  */
14
- export const VERSION = 'VERSION_WILL_BE_REPLACED_BY_BUILD';
14
+ const VERSION = '2.0.1';
15
15
 
16
16
  // GRAPHICS RENDERER
17
17
  /**
@@ -20,9 +20,9 @@ export const VERSION = 'VERSION_WILL_BE_REPLACED_BY_BUILD';
20
20
  * @property {P2D} P2D
21
21
  * @final
22
22
  */
23
- export const P2D = 'p2d';
23
+ const P2D = 'p2d';
24
24
 
25
- export const P2DHDR = 'p2d-hdr';
25
+ const P2DHDR = 'p2d-hdr';
26
26
 
27
27
  /**
28
28
  * One of the two render modes in p5.js, used for computationally intensive tasks like 3D rendering and shaders.
@@ -45,7 +45,7 @@ export const P2DHDR = 'p2d-hdr';
45
45
  * @property {WEBGL} WEBGL
46
46
  * @final
47
47
  */
48
- export const WEBGL = 'webgl';
48
+ const WEBGL = 'webgl';
49
49
  /**
50
50
  * One of the two possible values of a WebGL canvas (either WEBGL or WEBGL2),
51
51
  * which can be used to determine what capabilities the rendering environment
@@ -54,7 +54,7 @@ export const WEBGL = 'webgl';
54
54
  * @property {WEBGL2} WEBGL2
55
55
  * @final
56
56
  */
57
- export const WEBGL2 = 'webgl2';
57
+ const WEBGL2 = 'webgl2';
58
58
 
59
59
  // ENVIRONMENT
60
60
  /**
@@ -62,49 +62,49 @@ export const WEBGL2 = 'webgl2';
62
62
  * @property {ARROW} ARROW
63
63
  * @final
64
64
  */
65
- export const ARROW = 'default';
65
+ const ARROW = 'default';
66
66
 
67
67
  /**
68
68
  * @property {String} SIMPLE
69
69
  * @final
70
70
  */
71
- export const SIMPLE = 'simple';
71
+ const SIMPLE = 'simple';
72
72
  /**
73
73
  * @property {String} FULL
74
74
  * @final
75
75
  */
76
- export const FULL = 'full';
76
+ const FULL = 'full';
77
77
 
78
78
  /**
79
79
  * @typedef {'crosshair'} CROSS
80
80
  * @property {CROSS} CROSS
81
81
  * @final
82
82
  */
83
- export const CROSS = 'crosshair';
83
+ const CROSS = 'crosshair';
84
84
  /**
85
85
  * @typedef {'pointer'} HAND
86
86
  * @property {HAND} HAND
87
87
  * @final
88
88
  */
89
- export const HAND = 'pointer';
89
+ const HAND = 'pointer';
90
90
  /**
91
91
  * @typedef {'move'} MOVE
92
92
  * @property {MOVE} MOVE
93
93
  * @final
94
94
  */
95
- export const MOVE = 'move';
95
+ const MOVE = 'move';
96
96
  /**
97
97
  * @typedef {'text'} TEXT
98
98
  * @property {TEXT} TEXT
99
99
  * @final
100
100
  */
101
- export const TEXT = 'text';
101
+ const TEXT = 'text';
102
102
  /**
103
103
  * @typedef {'wait'} WAIT
104
104
  * @property {WAIT} WAIT
105
105
  * @final
106
106
  */
107
- export const WAIT = 'wait';
107
+ const WAIT = 'wait';
108
108
 
109
109
  // TRIGONOMETRY
110
110
 
@@ -196,7 +196,7 @@ export const WAIT = 'wait';
196
196
  * </code>
197
197
  * </div>
198
198
  */
199
- export const HALF_PI = _PI / 2;
199
+ const HALF_PI = _PI / 2;
200
200
 
201
201
  /**
202
202
  * A `Number` constant that's approximately 3.1416.
@@ -285,7 +285,7 @@ export const HALF_PI = _PI / 2;
285
285
  * </code>
286
286
  * </div>
287
287
  */
288
- export const PI = _PI;
288
+ const PI = _PI;
289
289
 
290
290
  /**
291
291
  * A `Number` constant that's approximately 0.7854.
@@ -375,7 +375,7 @@ export const PI = _PI;
375
375
  * </code>
376
376
  * </div>
377
377
  */
378
- export const QUARTER_PI = _PI / 4;
378
+ const QUARTER_PI = _PI / 4;
379
379
 
380
380
  /**
381
381
  * A `Number` constant that's approximately 6.2382.
@@ -470,7 +470,7 @@ export const QUARTER_PI = _PI / 4;
470
470
  * </code>
471
471
  * </div>
472
472
  */
473
- export const TAU = _PI * 2;
473
+ const TAU = _PI * 2;
474
474
 
475
475
  /**
476
476
  * A `Number` constant that's approximately 6.2382.
@@ -565,7 +565,7 @@ export const TAU = _PI * 2;
565
565
  * </code>
566
566
  * </div>
567
567
  */
568
- export const TWO_PI = _PI * 2;
568
+ const TWO_PI = _PI * 2;
569
569
 
570
570
  /**
571
571
  * A `String` constant that's used to set the
@@ -653,8 +653,8 @@ export const TWO_PI = _PI * 2;
653
653
  * </div>
654
654
  */
655
655
  // export const RADIANS = Symbol('radians');
656
- export const DEG_TO_RAD = _PI / 180.0;
657
- export const RAD_TO_DEG = 180.0 / _PI;
656
+ const DEG_TO_RAD = _PI / 180.0;
657
+ const RAD_TO_DEG = 180.0 / _PI;
658
658
 
659
659
  // SHAPE
660
660
  /**
@@ -662,181 +662,181 @@ export const RAD_TO_DEG = 180.0 / _PI;
662
662
  * @property {CORNER} CORNER
663
663
  * @final
664
664
  */
665
- export const CORNER = 'corner';
665
+ const CORNER = 'corner';
666
666
  /**
667
667
  * @typedef {'corners'} CORNERS
668
668
  * @property {CORNERS} CORNERS
669
669
  * @final
670
670
  */
671
- export const CORNERS = 'corners';
671
+ const CORNERS = 'corners';
672
672
  /**
673
673
  * @typedef {'radius'} RADIUS
674
674
  * @property {RADIUS} RADIUS
675
675
  * @final
676
676
  */
677
- export const RADIUS = 'radius';
677
+ const RADIUS = 'radius';
678
678
  /**
679
679
  * @typedef {'right'} RIGHT
680
680
  * @property {RIGHT} RIGHT
681
681
  * @final
682
682
  */
683
- export const RIGHT = 'right';
683
+ const RIGHT = 'right';
684
684
  /**
685
685
  * @typedef {'left'} LEFT
686
686
  * @property {LEFT} LEFT
687
687
  * @final
688
688
  */
689
- export const LEFT = 'left';
689
+ const LEFT = 'left';
690
690
  /**
691
691
  * @typedef {'center'} CENTER
692
692
  * @property {CENTER} CENTER
693
693
  * @final
694
694
  */
695
- export const CENTER = 'center';
695
+ const CENTER = 'center';
696
696
  /**
697
697
  * @typedef {'top'} TOP
698
698
  * @property {TOP} TOP
699
699
  * @final
700
700
  */
701
- export const TOP = 'top';
701
+ const TOP = 'top';
702
702
  /**
703
703
  * @typedef {'bottom'} BOTTOM
704
704
  * @property {BOTTOM} BOTTOM
705
705
  * @final
706
706
  */
707
- export const BOTTOM = 'bottom';
707
+ const BOTTOM = 'bottom';
708
708
  /**
709
709
  * @typedef {'alphabetic'} BASELINE
710
710
  * @property {BASELINE} BASELINE
711
711
  * @final
712
712
  */
713
- export const BASELINE = 'alphabetic';
713
+ const BASELINE = 'alphabetic';
714
714
  /**
715
715
  * @typedef {0x0000} POINTS
716
716
  * @property {POINTS} POINTS
717
717
  * @final
718
718
  */
719
- export const POINTS = 0x0000;
719
+ const POINTS = 0x0000;
720
720
  /**
721
721
  * @typedef {0x0001} LINES
722
722
  * @property {LINES} LINES
723
723
  * @final
724
724
  */
725
- export const LINES = 0x0001;
725
+ const LINES = 0x0001;
726
726
  /**
727
727
  * @property {0x0003} LINE_STRIP
728
728
  * @property {LINE_STRIP} LINE_STRIP
729
729
  * @final
730
730
  */
731
- export const LINE_STRIP = 0x0003;
731
+ const LINE_STRIP = 0x0003;
732
732
  /**
733
733
  * @typedef {0x0002} LINE_LOOP
734
734
  * @property {LINE_LOOP} LINE_LOOP
735
735
  * @final
736
736
  */
737
- export const LINE_LOOP = 0x0002;
737
+ const LINE_LOOP = 0x0002;
738
738
  /**
739
739
  * @typedef {0x0004} TRIANGLES
740
740
  * @property {TRIANGLES} TRIANGLES
741
741
  * @final
742
742
  */
743
- export const TRIANGLES = 0x0004;
743
+ const TRIANGLES = 0x0004;
744
744
  /**
745
745
  * @typedef {0x0006} TRIANGLE_FAN
746
746
  * @property {TRIANGLE_FAN} TRIANGLE_FAN
747
747
  * @final
748
748
  */
749
- export const TRIANGLE_FAN = 0x0006;
749
+ const TRIANGLE_FAN = 0x0006;
750
750
  /**
751
751
  * @typedef {0x0005} TRIANGLE_STRIP
752
752
  * @property {TRIANGLE_STRIP} TRIANGLE_STRIP
753
753
  * @final
754
754
  */
755
- export const TRIANGLE_STRIP = 0x0005;
755
+ const TRIANGLE_STRIP = 0x0005;
756
756
  /**
757
757
  * @typedef {'quads'} QUADS
758
758
  * @property {QUADS} QUADS
759
759
  * @final
760
760
  */
761
- export const QUADS = 'quads';
761
+ const QUADS = 'quads';
762
762
  /**
763
763
  * @typedef {'quad_strip'} QUAD_STRIP
764
764
  * @property {QUAD_STRIP} QUAD_STRIP
765
765
  * @final
766
766
  */
767
- export const QUAD_STRIP = 'quad_strip';
767
+ const QUAD_STRIP = 'quad_strip';
768
768
  /**
769
769
  * @typedef {'tess'} TESS
770
770
  * @property {TESS} TESS
771
771
  * @final
772
772
  */
773
- export const TESS = 'tess';
773
+ const TESS = 'tess';
774
774
  /**
775
775
  * @typedef {0x0007} EMPTY_PATH
776
776
  * @property {EMPTY_PATH} EMPTY_PATH
777
777
  * @final
778
778
  */
779
- export const EMPTY_PATH = 0x0007;
779
+ const EMPTY_PATH = 0x0007;
780
780
  /**
781
781
  * @typedef {0x0008} PATH
782
782
  * @property {PATH} PATH
783
783
  * @final
784
784
  */
785
- export const PATH = 0x0008;
785
+ const PATH = 0x0008;
786
786
  /**
787
787
  * @typedef {'close'} CLOSE
788
788
  * @property {CLOSE} CLOSE
789
789
  * @final
790
790
  */
791
- export const CLOSE = 'close';
791
+ const CLOSE = 'close';
792
792
  /**
793
793
  * @typedef {'open'} OPEN
794
794
  * @property {OPEN} OPEN
795
795
  * @final
796
796
  */
797
- export const OPEN = 'open';
797
+ const OPEN = 'open';
798
798
  /**
799
799
  * @typedef {'chord'} CHORD
800
800
  * @property {CHORD} CHORD
801
801
  * @final
802
802
  */
803
- export const CHORD = 'chord';
803
+ const CHORD = 'chord';
804
804
  /**
805
805
  * @typedef {'pie'} PIE
806
806
  * @property {PIE} PIE
807
807
  * @final
808
808
  */
809
- export const PIE = 'pie';
809
+ const PIE = 'pie';
810
810
  /**
811
811
  * @typedef {'square'} PROJECT
812
812
  * @property {PROJECT} PROJECT
813
813
  * @final
814
814
  */
815
- export const PROJECT = 'square'; // PEND: careful this is counterintuitive
815
+ const PROJECT = 'square'; // PEND: careful this is counterintuitive
816
816
  /**
817
817
  * @typedef {'butt'} SQUARE
818
818
  * @property {SQUERE} SQUARE
819
819
  * @final
820
820
  */
821
- export const SQUARE = 'butt';
821
+ const SQUARE = 'butt';
822
822
  /**
823
823
  * @typedef {'round'} ROUND
824
824
  * @property {ROUND} ROUND
825
825
  * @final
826
826
  */
827
- export const ROUND = 'round';
827
+ const ROUND = 'round';
828
828
  /**
829
829
  * @typedef {'bevel'} BEVEL
830
830
  * @property {BEVEL} BEVEL
831
831
  * @final
832
832
  */
833
- export const BEVEL = 'bevel';
833
+ const BEVEL = 'bevel';
834
834
  /**
835
835
  * @typedef {'miter'} MITER
836
836
  * @property {MITER} MITER
837
837
  * @final
838
838
  */
839
- export const MITER = 'miter';
839
+ const MITER = 'miter';
840
840
 
841
841
  // DOM EXTENSION
842
842
  /**
@@ -848,105 +848,105 @@ export const MITER = 'miter';
848
848
  * @property {AUTO} AUTO
849
849
  * @final
850
850
  */
851
- export const AUTO = 'auto';
851
+ const AUTO = 'auto';
852
852
  // INPUT
853
853
  /**
854
854
  * @typedef {'Alt'} ALT
855
855
  * @property {ALT} ALT
856
856
  * @final
857
857
  */
858
- export const ALT = 'Alt';
858
+ const ALT = 'Alt';
859
859
 
860
860
  /**
861
861
  * @typedef {'Backspace'} BACKSPACE
862
862
  * @property {BACKSPACE} BACKSPACE
863
863
  * @final
864
864
  */
865
- export const BACKSPACE = 'Backspace';
865
+ const BACKSPACE = 'Backspace';
866
866
 
867
867
  /**
868
868
  * @typedef {'Control' | 'Control'} CONTROL
869
869
  * @property {CONTROL} CONTROL
870
870
  * @final
871
871
  */
872
- export const CONTROL = 'Control';
872
+ const CONTROL = 'Control';
873
873
 
874
874
  /**
875
875
  * @typedef {'Delete'} DELETE
876
876
  * @property {DELETE} DELETE
877
877
  * @final
878
878
  */
879
- export const DELETE = 'Delete';
879
+ const DELETE = 'Delete';
880
880
 
881
881
  /**
882
882
  * @typedef {'ArrowDown'} DOWN_ARROW
883
883
  * @property {DOWN_ARROW} DOWN_ARROW
884
884
  * @final
885
885
  */
886
- export const DOWN_ARROW = 'ArrowDown';
886
+ const DOWN_ARROW = 'ArrowDown';
887
887
 
888
888
  /**
889
889
  * @typedef {'Enter'} ENTER
890
890
  * @property {ENTER} ENTER
891
891
  * @final
892
892
  */
893
- export const ENTER = 'Enter';
893
+ const ENTER = 'Enter';
894
894
 
895
895
  /**
896
896
  * @typedef {'Escape'} ESCAPE
897
897
  * @property {ESCAPE} ESCAPE
898
898
  * @final
899
899
  */
900
- export const ESCAPE = 'Escape';
900
+ const ESCAPE = 'Escape';
901
901
 
902
902
  /**
903
903
  * @typedef {'ArrowLeft'} LEFT_ARROW
904
904
  * @property {LEFT_ARROW} LEFT_ARROW
905
905
  * @final
906
906
  */
907
- export const LEFT_ARROW = 'ArrowLeft';
907
+ const LEFT_ARROW = 'ArrowLeft';
908
908
 
909
909
  /**
910
910
  * @typedef {'Alt'} OPTION
911
911
  * @property {OPTION} OPTION
912
912
  * @final
913
913
  */
914
- export const OPTION = 'Alt';
914
+ const OPTION = 'Alt';
915
915
 
916
916
  /**
917
917
  * @typedef {'Enter'} RETURN
918
918
  * @property {RETURN} RETURN
919
919
  * @final
920
920
  */
921
- export const RETURN = 'Enter';
921
+ const RETURN = 'Enter';
922
922
 
923
923
  /**
924
924
  * @typedef {'ArrowRight'} RIGHT_ARROW
925
925
  * @property {RIGHT_ARROW} RIGHT_ARROW
926
926
  * @final
927
927
  */
928
- export const RIGHT_ARROW = 'ArrowRight';
928
+ const RIGHT_ARROW = 'ArrowRight';
929
929
 
930
930
  /**
931
931
  * @typedef {'Shift'} SHIFT
932
932
  * @property {SHIFT} SHIFT
933
933
  * @final
934
934
  */
935
- export const SHIFT = 'Shift';
935
+ const SHIFT = 'Shift';
936
936
 
937
937
  /**
938
938
  * @typedef {'Tab'} TAB
939
939
  * @property {TAB} TAB
940
940
  * @final
941
941
  */
942
- export const TAB = 'Tab';
942
+ const TAB = 'Tab';
943
943
 
944
944
  /**
945
945
  * @typedef {'ArrowUp'} UP_ARROW
946
946
  * @property {UP_ARROW} UP_ARROW
947
947
  * @final
948
948
  */
949
- export const UP_ARROW = 'ArrowUp';
949
+ const UP_ARROW = 'ArrowUp';
950
950
 
951
951
  // RENDERING
952
952
  /**
@@ -954,97 +954,97 @@ export const UP_ARROW = 'ArrowUp';
954
954
  * @property {BLEND} BLEND
955
955
  * @final
956
956
  */
957
- export const BLEND = 'source-over';
957
+ const BLEND = 'source-over';
958
958
  /**
959
959
  * @typedef {'destination-out'} REMOVE
960
960
  * @property {REMOVE} REMOVE
961
961
  * @final
962
962
  */
963
- export const REMOVE = 'destination-out';
963
+ const REMOVE = 'destination-out';
964
964
  /**
965
965
  * @typedef {'lighter'} ADD
966
966
  * @property {ADD} ADD
967
967
  * @final
968
968
  */
969
- export const ADD = 'lighter';
969
+ const ADD = 'lighter';
970
970
  /**
971
971
  * @typedef {'darken'} DARKEST
972
972
  * @property {DARKEST} DARKEST
973
973
  * @final
974
974
  */
975
- export const DARKEST = 'darken';
975
+ const DARKEST = 'darken';
976
976
  /**
977
977
  * @typedef {'lighten'} LIGHTEST
978
978
  * @property {LIGHTEST} LIGHTEST
979
979
  * @final
980
980
  */
981
- export const LIGHTEST = 'lighten';
981
+ const LIGHTEST = 'lighten';
982
982
  /**
983
983
  * @typedef {'difference'} DIFFERENCE
984
984
  * @property {DIFFERENCE} DIFFERENCE
985
985
  * @final
986
986
  */
987
- export const DIFFERENCE = 'difference';
987
+ const DIFFERENCE = 'difference';
988
988
  /**
989
989
  * @typedef {'subtract'} SUBTRACT
990
990
  * @property {SUBTRACT} SUBTRACT
991
991
  * @final
992
992
  */
993
- export const SUBTRACT = 'subtract';
993
+ const SUBTRACT = 'subtract';
994
994
  /**
995
995
  * @typedef {'exclusion'} EXCLUSION
996
996
  * @property {EXCLUSION} EXCLUSION
997
997
  * @final
998
998
  */
999
- export const EXCLUSION = 'exclusion';
999
+ const EXCLUSION = 'exclusion';
1000
1000
  /**
1001
1001
  * @typedef {'multiply'} MULTIPLY
1002
1002
  * @property {MULTIPLY} MULTIPLY
1003
1003
  * @final
1004
1004
  */
1005
- export const MULTIPLY = 'multiply';
1005
+ const MULTIPLY = 'multiply';
1006
1006
  /**
1007
1007
  * @typedef {'screen'} SCREEN
1008
1008
  * @property {SCREEN} SCREEN
1009
1009
  * @final
1010
1010
  */
1011
- export const SCREEN = 'screen';
1011
+ const SCREEN = 'screen';
1012
1012
  /**
1013
1013
  * @typedef {'copy'} REPLACE
1014
1014
  * @property {REPLACE} REPLACE
1015
1015
  * @final
1016
1016
  */
1017
- export const REPLACE = 'copy';
1017
+ const REPLACE = 'copy';
1018
1018
  /**
1019
1019
  * @typedef {'overlay'} OVERLAY
1020
1020
  * @property {OVERLAY} OVERLAY
1021
1021
  * @final
1022
1022
  */
1023
- export const OVERLAY = 'overlay';
1023
+ const OVERLAY = 'overlay';
1024
1024
  /**
1025
1025
  * @typedef {'hard-light'} HARD_LIGHT
1026
1026
  * @property {HARD_LIGHT} HARD_LIGHT
1027
1027
  * @final
1028
1028
  */
1029
- export const HARD_LIGHT = 'hard-light';
1029
+ const HARD_LIGHT = 'hard-light';
1030
1030
  /**
1031
1031
  * @typedef {'soft-light'} SOFT_LIGHT
1032
1032
  * @property {SOFT_LIGHT} SOFT_LIGHT
1033
1033
  * @final
1034
1034
  */
1035
- export const SOFT_LIGHT = 'soft-light';
1035
+ const SOFT_LIGHT = 'soft-light';
1036
1036
  /**
1037
1037
  * @typedef {'color-dodge'} DODGE
1038
1038
  * @property {DODGE} DODGE
1039
1039
  * @final
1040
1040
  */
1041
- export const DODGE = 'color-dodge';
1041
+ const DODGE = 'color-dodge';
1042
1042
  /**
1043
1043
  * @typedef {'color-burn'} BURN
1044
1044
  * @property {BURN} BURN
1045
1045
  * @final
1046
1046
  */
1047
- export const BURN = 'color-burn';
1047
+ const BURN = 'color-burn';
1048
1048
 
1049
1049
  // FILTERS
1050
1050
  /**
@@ -1052,49 +1052,49 @@ export const BURN = 'color-burn';
1052
1052
  * @property {THRESHOLD} THRESHOLD
1053
1053
  * @final
1054
1054
  */
1055
- export const THRESHOLD = 'threshold';
1055
+ const THRESHOLD = 'threshold';
1056
1056
  /**
1057
1057
  * @typedef {'gray'} GRAY
1058
1058
  * @property {GRAY} GRAY
1059
1059
  * @final
1060
1060
  */
1061
- export const GRAY = 'gray';
1061
+ const GRAY = 'gray';
1062
1062
  /**
1063
1063
  * @typedef {'opaque'} OPAQUE
1064
1064
  * @property {OPAQUE} OPAQUE
1065
1065
  * @final
1066
1066
  */
1067
- export const OPAQUE = 'opaque';
1067
+ const OPAQUE = 'opaque';
1068
1068
  /**
1069
1069
  * @typedef {'invert'} INVERT
1070
1070
  * @property {INVERT} INVERT
1071
1071
  * @final
1072
1072
  */
1073
- export const INVERT = 'invert';
1073
+ const INVERT = 'invert';
1074
1074
  /**
1075
1075
  * @typedef {'posterize'} POSTERIZE
1076
1076
  * @property {POSTERIZE} POSTERIZE
1077
1077
  * @final
1078
1078
  */
1079
- export const POSTERIZE = 'posterize';
1079
+ const POSTERIZE = 'posterize';
1080
1080
  /**
1081
1081
  * @typedef {'dilate'} DILATE
1082
1082
  * @property {DILATE} DILATE
1083
1083
  * @final
1084
1084
  */
1085
- export const DILATE = 'dilate';
1085
+ const DILATE = 'dilate';
1086
1086
  /**
1087
1087
  * @typedef {'erode'} ERODE
1088
1088
  * @property {ERODE} ERODE
1089
1089
  * @final
1090
1090
  */
1091
- export const ERODE = 'erode';
1091
+ const ERODE = 'erode';
1092
1092
  /**
1093
1093
  * @typedef {'blur'} BLUR
1094
1094
  * @property {BLUR} BLUR
1095
1095
  * @final
1096
1096
  */
1097
- export const BLUR = 'blur';
1097
+ const BLUR = 'blur';
1098
1098
 
1099
1099
  // TYPOGRAPHY
1100
1100
  /**
@@ -1102,42 +1102,42 @@ export const BLUR = 'blur';
1102
1102
  * @property {NORMAL} NORMAL
1103
1103
  * @final
1104
1104
  */
1105
- export const NORMAL = 'normal';
1105
+ const NORMAL = 'normal';
1106
1106
  /**
1107
1107
  * @typedef {'italic'} ITALIC
1108
1108
  * @property {ITALIC} ITALIC
1109
1109
  * @final
1110
1110
  */
1111
- export const ITALIC = 'italic';
1111
+ const ITALIC = 'italic';
1112
1112
  /**
1113
1113
  * @typedef {'bold'} BOLD
1114
1114
  * @property {BOLD} BOLD
1115
1115
  * @final
1116
1116
  */
1117
- export const BOLD = 'bold';
1117
+ const BOLD = 'bold';
1118
1118
  /**
1119
1119
  * @typedef {'bold italic'} BOLDITALIC
1120
1120
  * @property {BOLDITALIC} BOLDITALIC
1121
1121
  * @final
1122
1122
  */
1123
- export const BOLDITALIC = 'bold italic';
1123
+ const BOLDITALIC = 'bold italic';
1124
1124
  /**
1125
1125
  * @typedef {'CHAR'} CHAR
1126
1126
  * @property {CHAR} CHAR
1127
1127
  * @final
1128
1128
  */
1129
- export const CHAR = 'CHAR';
1129
+ const CHAR = 'CHAR';
1130
1130
  /**
1131
1131
  * @typedef {'WORD'} WORD
1132
1132
  * @property {WORD} WORD
1133
1133
  * @final
1134
1134
  */
1135
- export const WORD = 'WORD';
1135
+ const WORD = 'WORD';
1136
1136
 
1137
1137
  // TYPOGRAPHY-INTERNAL
1138
- export const _DEFAULT_TEXT_FILL = '#000000';
1139
- export const _DEFAULT_LEADMULT = 1.25;
1140
- export const _CTX_MIDDLE = 'middle';
1138
+ const _DEFAULT_TEXT_FILL = '#000000';
1139
+ const _DEFAULT_LEADMULT = 1.25;
1140
+ const _CTX_MIDDLE = 'middle';
1141
1141
 
1142
1142
  // VERTICES
1143
1143
  /**
@@ -1145,25 +1145,25 @@ export const _CTX_MIDDLE = 'middle';
1145
1145
  * @property {LINEAR} LINEAR
1146
1146
  * @final
1147
1147
  */
1148
- export const LINEAR = 'linear';
1148
+ const LINEAR = 'linear';
1149
1149
  /**
1150
1150
  * @typedef {'quadratic'} QUADRATIC
1151
1151
  * @property {QUADRATIC} QUADRATIC
1152
1152
  * @final
1153
1153
  */
1154
- export const QUADRATIC = 'quadratic';
1154
+ const QUADRATIC = 'quadratic';
1155
1155
  /**
1156
1156
  * @typedef {'bezier'} BEZIER
1157
1157
  * @property {BEZIER} BEZIER
1158
1158
  * @final
1159
1159
  */
1160
- export const BEZIER = 'bezier';
1160
+ const BEZIER = 'bezier';
1161
1161
  /**
1162
1162
  * @typedef {'curve'} CURVE
1163
1163
  * @property {CURVE} CURVE
1164
1164
  * @final
1165
1165
  */
1166
- export const CURVE = 'curve';
1166
+ const CURVE = 'curve';
1167
1167
 
1168
1168
  // WEBGL DRAWMODES
1169
1169
  /**
@@ -1171,25 +1171,25 @@ export const CURVE = 'curve';
1171
1171
  * @property {STROKE} STROKE
1172
1172
  * @final
1173
1173
  */
1174
- export const STROKE = 'stroke';
1174
+ const STROKE = 'stroke';
1175
1175
  /**
1176
1176
  * @typedef {'fill'} FILL
1177
1177
  * @property {FILL} FILL
1178
1178
  * @final
1179
1179
  */
1180
- export const FILL = 'fill';
1180
+ const FILL = 'fill';
1181
1181
  /**
1182
1182
  * @typedef {'texture'} TEXTURE
1183
1183
  * @property {TEXTURE} TEXTURE
1184
1184
  * @final
1185
1185
  */
1186
- export const TEXTURE = 'texture';
1186
+ const TEXTURE = 'texture';
1187
1187
  /**
1188
1188
  * @typedef {'immediate'} IMMEDIATE
1189
1189
  * @property {IMMEDIATE} IMMEDIATE
1190
1190
  * @final
1191
1191
  */
1192
- export const IMMEDIATE = 'immediate';
1192
+ const IMMEDIATE = 'immediate';
1193
1193
 
1194
1194
  // WEBGL TEXTURE MODE
1195
1195
  // NORMAL already exists for typography
@@ -1198,7 +1198,7 @@ export const IMMEDIATE = 'immediate';
1198
1198
  * @property {IMAGE} IMAGE
1199
1199
  * @final
1200
1200
  */
1201
- export const IMAGE = 'image';
1201
+ const IMAGE = 'image';
1202
1202
 
1203
1203
  // WEBGL TEXTURE WRAP AND FILTERING
1204
1204
  // LINEAR already exists above
@@ -1207,25 +1207,25 @@ export const IMAGE = 'image';
1207
1207
  * @property {NEAREST} NEAREST
1208
1208
  * @final
1209
1209
  */
1210
- export const NEAREST = 'nearest';
1210
+ const NEAREST = 'nearest';
1211
1211
  /**
1212
1212
  * @typedef {'repeat'} REPEAT
1213
1213
  * @property {REPEAT} REPEAT
1214
1214
  * @final
1215
1215
  */
1216
- export const REPEAT = 'repeat';
1216
+ const REPEAT = 'repeat';
1217
1217
  /**
1218
1218
  * @typedef {'clamp'} CLAMP
1219
1219
  * @property {CLAMP} CLAMP
1220
1220
  * @final
1221
1221
  */
1222
- export const CLAMP = 'clamp';
1222
+ const CLAMP = 'clamp';
1223
1223
  /**
1224
1224
  * @typedef {'mirror'} MIRROR
1225
1225
  * @property {MIRROR} MIRROR
1226
1226
  * @final
1227
1227
  */
1228
- export const MIRROR = 'mirror';
1228
+ const MIRROR = 'mirror';
1229
1229
 
1230
1230
  // WEBGL GEOMETRY SHADING
1231
1231
  /**
@@ -1233,13 +1233,13 @@ export const MIRROR = 'mirror';
1233
1233
  * @property {FLAT} FLAT
1234
1234
  * @final
1235
1235
  */
1236
- export const FLAT = 'flat';
1236
+ const FLAT = 'flat';
1237
1237
  /**
1238
1238
  * @typedef {'smooth'} SMOOTH
1239
1239
  * @property {SMOOTH} SMOOTH
1240
1240
  * @final
1241
1241
  */
1242
- export const SMOOTH = 'smooth';
1242
+ const SMOOTH = 'smooth';
1243
1243
 
1244
1244
  // DEVICE-ORIENTATION
1245
1245
  /**
@@ -1247,86 +1247,86 @@ export const SMOOTH = 'smooth';
1247
1247
  * @property {LANDSCAPE} LANDSCAPE
1248
1248
  * @final
1249
1249
  */
1250
- export const LANDSCAPE = 'landscape';
1250
+ const LANDSCAPE = 'landscape';
1251
1251
  /**
1252
1252
  * @typedef {'portrait'} PORTRAIT
1253
1253
  * @property {PORTRAIT} PORTRAIT
1254
1254
  * @final
1255
1255
  */
1256
- export const PORTRAIT = 'portrait';
1256
+ const PORTRAIT = 'portrait';
1257
1257
 
1258
1258
  // DEFAULTS
1259
- export const _DEFAULT_STROKE = '#000000';
1260
- export const _DEFAULT_FILL = '#FFFFFF';
1259
+ const _DEFAULT_STROKE = '#000000';
1260
+ const _DEFAULT_FILL = '#FFFFFF';
1261
1261
 
1262
1262
  /**
1263
1263
  * @typedef {'grid'} GRID
1264
1264
  * @property {GRID} GRID
1265
1265
  * @final
1266
1266
  */
1267
- export const GRID = 'grid';
1267
+ const GRID = 'grid';
1268
1268
 
1269
1269
  /**
1270
1270
  * @typedef {'axes'} AXES
1271
1271
  * @property {AXES} AXES
1272
1272
  * @final
1273
1273
  */
1274
- export const AXES = 'axes';
1274
+ const AXES = 'axes';
1275
1275
 
1276
1276
  /**
1277
1277
  * @typedef {'label'} LABEL
1278
1278
  * @property {LABEL} LABEL
1279
1279
  * @final
1280
1280
  */
1281
- export const LABEL = 'label';
1281
+ const LABEL = 'label';
1282
1282
  /**
1283
1283
  * @typedef {'fallback'} FALLBACK
1284
1284
  * @property {FALLBACK} FALLBACK
1285
1285
  * @final
1286
1286
  */
1287
- export const FALLBACK = 'fallback';
1287
+ const FALLBACK = 'fallback';
1288
1288
 
1289
1289
  /**
1290
1290
  * @typedef {'contain'} CONTAIN
1291
1291
  * @property {CONTAIN} CONTAIN
1292
1292
  * @final
1293
1293
  */
1294
- export const CONTAIN = 'contain';
1294
+ const CONTAIN = 'contain';
1295
1295
 
1296
1296
  /**
1297
1297
  * @typedef {'cover'} COVER
1298
1298
  * @property {COVER} COVER
1299
1299
  * @final
1300
1300
  */
1301
- export const COVER = 'cover';
1301
+ const COVER = 'cover';
1302
1302
 
1303
1303
  /**
1304
1304
  * @typedef {'unsigned-byte'} UNSIGNED_BYTE
1305
1305
  * @property {UNSIGNED_BYTE} UNSIGNED_BYTE
1306
1306
  * @final
1307
1307
  */
1308
- export const UNSIGNED_BYTE = 'unsigned-byte';
1308
+ const UNSIGNED_BYTE = 'unsigned-byte';
1309
1309
 
1310
1310
  /**
1311
1311
  * @typedef {'unsigned-int'} UNSIGNED_INT
1312
1312
  * @property {UNSIGNED_INT} UNSIGNED_INT
1313
1313
  * @final
1314
1314
  */
1315
- export const UNSIGNED_INT = 'unsigned-int';
1315
+ const UNSIGNED_INT = 'unsigned-int';
1316
1316
 
1317
1317
  /**
1318
1318
  * @typedef {'float'} FLOAT
1319
1319
  * @property {FLOAT} FLOAT
1320
1320
  * @final
1321
1321
  */
1322
- export const FLOAT = 'float';
1322
+ const FLOAT = 'float';
1323
1323
 
1324
1324
  /**
1325
1325
  * @typedef {'half-float'} HALF_FLOAT
1326
1326
  * @property {HALF_FLOAT} HALF_FLOAT
1327
1327
  * @final
1328
1328
  */
1329
- export const HALF_FLOAT = 'half-float';
1329
+ const HALF_FLOAT = 'half-float';
1330
1330
 
1331
1331
  /**
1332
1332
  * The `splineProperty('ends')` mode where splines curve through
@@ -1335,7 +1335,7 @@ export const HALF_FLOAT = 'half-float';
1335
1335
  * @property {INCLUDE} INCLUDE
1336
1336
  * @final
1337
1337
  */
1338
- export const INCLUDE = Symbol('include');
1338
+ const INCLUDE = Symbol('include');
1339
1339
 
1340
1340
  /**
1341
1341
  * The `splineProperty('ends')` mode where the first and last points in a spline
@@ -1344,7 +1344,7 @@ export const INCLUDE = Symbol('include');
1344
1344
  * @property {EXCLUDE} EXCLUDE
1345
1345
  * @final
1346
1346
  */
1347
- export const EXCLUDE = Symbol('exclude');
1347
+ const EXCLUDE = Symbol('exclude');
1348
1348
 
1349
1349
  /**
1350
1350
  * The `splineProperty('ends')` mode where the spline loops back to its first point.
@@ -1354,4 +1354,140 @@ export const EXCLUDE = Symbol('exclude');
1354
1354
  * @final
1355
1355
  * @private
1356
1356
  */
1357
- export const JOIN = Symbol('join');
1357
+ const JOIN = Symbol('join');
1358
+
1359
+ var constants = /*#__PURE__*/Object.freeze({
1360
+ __proto__: null,
1361
+ ADD: ADD,
1362
+ ALT: ALT,
1363
+ ARROW: ARROW,
1364
+ AUTO: AUTO,
1365
+ AXES: AXES,
1366
+ BACKSPACE: BACKSPACE,
1367
+ BASELINE: BASELINE,
1368
+ BEVEL: BEVEL,
1369
+ BEZIER: BEZIER,
1370
+ BLEND: BLEND,
1371
+ BLUR: BLUR,
1372
+ BOLD: BOLD,
1373
+ BOLDITALIC: BOLDITALIC,
1374
+ BOTTOM: BOTTOM,
1375
+ BURN: BURN,
1376
+ CENTER: CENTER,
1377
+ CHAR: CHAR,
1378
+ CHORD: CHORD,
1379
+ CLAMP: CLAMP,
1380
+ CLOSE: CLOSE,
1381
+ CONTAIN: CONTAIN,
1382
+ CONTROL: CONTROL,
1383
+ CORNER: CORNER,
1384
+ CORNERS: CORNERS,
1385
+ COVER: COVER,
1386
+ CROSS: CROSS,
1387
+ CURVE: CURVE,
1388
+ DARKEST: DARKEST,
1389
+ DEG_TO_RAD: DEG_TO_RAD,
1390
+ DELETE: DELETE,
1391
+ DIFFERENCE: DIFFERENCE,
1392
+ DILATE: DILATE,
1393
+ DODGE: DODGE,
1394
+ DOWN_ARROW: DOWN_ARROW,
1395
+ EMPTY_PATH: EMPTY_PATH,
1396
+ ENTER: ENTER,
1397
+ ERODE: ERODE,
1398
+ ESCAPE: ESCAPE,
1399
+ EXCLUDE: EXCLUDE,
1400
+ EXCLUSION: EXCLUSION,
1401
+ FALLBACK: FALLBACK,
1402
+ FILL: FILL,
1403
+ FLAT: FLAT,
1404
+ FLOAT: FLOAT,
1405
+ FULL: FULL,
1406
+ GRAY: GRAY,
1407
+ GRID: GRID,
1408
+ HALF_FLOAT: HALF_FLOAT,
1409
+ HALF_PI: HALF_PI,
1410
+ HAND: HAND,
1411
+ HARD_LIGHT: HARD_LIGHT,
1412
+ IMAGE: IMAGE,
1413
+ IMMEDIATE: IMMEDIATE,
1414
+ INCLUDE: INCLUDE,
1415
+ INVERT: INVERT,
1416
+ ITALIC: ITALIC,
1417
+ JOIN: JOIN,
1418
+ LABEL: LABEL,
1419
+ LANDSCAPE: LANDSCAPE,
1420
+ LEFT: LEFT,
1421
+ LEFT_ARROW: LEFT_ARROW,
1422
+ LIGHTEST: LIGHTEST,
1423
+ LINEAR: LINEAR,
1424
+ LINES: LINES,
1425
+ LINE_LOOP: LINE_LOOP,
1426
+ LINE_STRIP: LINE_STRIP,
1427
+ MIRROR: MIRROR,
1428
+ MITER: MITER,
1429
+ MOVE: MOVE,
1430
+ MULTIPLY: MULTIPLY,
1431
+ NEAREST: NEAREST,
1432
+ NORMAL: NORMAL,
1433
+ OPAQUE: OPAQUE,
1434
+ OPEN: OPEN,
1435
+ OPTION: OPTION,
1436
+ OVERLAY: OVERLAY,
1437
+ P2D: P2D,
1438
+ P2DHDR: P2DHDR,
1439
+ PATH: PATH,
1440
+ PI: PI,
1441
+ PIE: PIE,
1442
+ POINTS: POINTS,
1443
+ PORTRAIT: PORTRAIT,
1444
+ POSTERIZE: POSTERIZE,
1445
+ PROJECT: PROJECT,
1446
+ QUADRATIC: QUADRATIC,
1447
+ QUADS: QUADS,
1448
+ QUAD_STRIP: QUAD_STRIP,
1449
+ QUARTER_PI: QUARTER_PI,
1450
+ RADIUS: RADIUS,
1451
+ RAD_TO_DEG: RAD_TO_DEG,
1452
+ REMOVE: REMOVE,
1453
+ REPEAT: REPEAT,
1454
+ REPLACE: REPLACE,
1455
+ RETURN: RETURN,
1456
+ RIGHT: RIGHT,
1457
+ RIGHT_ARROW: RIGHT_ARROW,
1458
+ ROUND: ROUND,
1459
+ SCREEN: SCREEN,
1460
+ SHIFT: SHIFT,
1461
+ SIMPLE: SIMPLE,
1462
+ SMOOTH: SMOOTH,
1463
+ SOFT_LIGHT: SOFT_LIGHT,
1464
+ SQUARE: SQUARE,
1465
+ STROKE: STROKE,
1466
+ SUBTRACT: SUBTRACT,
1467
+ TAB: TAB,
1468
+ TAU: TAU,
1469
+ TESS: TESS,
1470
+ TEXT: TEXT,
1471
+ TEXTURE: TEXTURE,
1472
+ THRESHOLD: THRESHOLD,
1473
+ TOP: TOP,
1474
+ TRIANGLES: TRIANGLES,
1475
+ TRIANGLE_FAN: TRIANGLE_FAN,
1476
+ TRIANGLE_STRIP: TRIANGLE_STRIP,
1477
+ TWO_PI: TWO_PI,
1478
+ UNSIGNED_BYTE: UNSIGNED_BYTE,
1479
+ UNSIGNED_INT: UNSIGNED_INT,
1480
+ UP_ARROW: UP_ARROW,
1481
+ VERSION: VERSION,
1482
+ WAIT: WAIT,
1483
+ WEBGL: WEBGL,
1484
+ WEBGL2: WEBGL2,
1485
+ WORD: WORD,
1486
+ _CTX_MIDDLE: _CTX_MIDDLE,
1487
+ _DEFAULT_FILL: _DEFAULT_FILL,
1488
+ _DEFAULT_LEADMULT: _DEFAULT_LEADMULT,
1489
+ _DEFAULT_STROKE: _DEFAULT_STROKE,
1490
+ _DEFAULT_TEXT_FILL: _DEFAULT_TEXT_FILL
1491
+ });
1492
+
1493
+ export { BLUR as $, AXES as A, BEVEL as B, CENTER as C, DEG_TO_RAD as D, EMPTY_PATH as E, FLAT as F, GRID as G, HAND as H, INCLUDE as I, JOIN as J, OPAQUE as K, LINES as L, MOVE as M, NORMAL as N, OPEN as O, P2D as P, QUADS as Q, RIGHT as R, SQUARE as S, TEXTURE as T, POSTERIZE as U, DILATE as V, WAIT as W, GRAY as X, ERODE as Y, THRESHOLD as Z, INVERT as _, RADIUS as a, BOLDITALIC as a$, WEBGL as a0, IMAGE as a1, _DEFAULT_FILL as a2, _DEFAULT_STROKE as a3, REMOVE as a4, SUBTRACT as a5, DARKEST as a6, LIGHTEST as a7, DIFFERENCE as a8, MULTIPLY as a9, MIRROR as aA, FLOAT as aB, LINEAR as aC, HALF_FLOAT as aD, P2DHDR as aE, QUARTER_PI as aF, TAU as aG, TOP as aH, LINE_STRIP as aI, LINE_LOOP as aJ, TESS as aK, ALT as aL, BACKSPACE as aM, CONTROL as aN, DELETE as aO, DOWN_ARROW as aP, ENTER as aQ, ESCAPE as aR, LEFT_ARROW as aS, OPTION as aT, RETURN as aU, RIGHT_ARROW as aV, SHIFT as aW, TAB as aX, UP_ARROW as aY, ITALIC as aZ, BOLD as a_, EXCLUSION as aa, SCREEN as ab, REPLACE as ac, OVERLAY as ad, HARD_LIGHT as ae, SOFT_LIGHT as af, DODGE as ag, BURN as ah, ADD as ai, PIE as aj, CHORD as ak, VERSION as al, WORD as am, BASELINE as an, LEFT as ao, COVER as ap, CONTAIN as aq, BOTTOM as ar, FILL as as, CLAMP as at, UNSIGNED_INT as au, UNSIGNED_BYTE as av, SIMPLE as aw, FULL as ax, NEAREST as ay, REPEAT as az, ARROW as b, CHAR as b0, _DEFAULT_TEXT_FILL as b1, _DEFAULT_LEADMULT as b2, _CTX_MIDDLE as b3, QUADRATIC as b4, BEZIER as b5, CURVE as b6, STROKE as b7, IMMEDIATE as b8, LANDSCAPE as b9, PORTRAIT as ba, LABEL as bb, FALLBACK as bc, CROSS as c, TEXT as d, CORNER as e, TWO_PI as f, HALF_PI as g, PI as h, CORNERS as i, ROUND as j, PROJECT as k, MITER as l, PATH as m, CLOSE as n, POINTS as o, TRIANGLES as p, TRIANGLE_FAN as q, TRIANGLE_STRIP as r, QUAD_STRIP as s, EXCLUDE as t, BLEND as u, constants as v, AUTO as w, RAD_TO_DEG as x, SMOOTH as y, WEBGL2 as z };