p5 2.2.2-rc.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +4 -1
  2. package/dist/accessibility/color_namer.js +4 -4
  3. package/dist/accessibility/index.js +4 -4
  4. package/dist/app.js +4 -4
  5. package/dist/color/color_conversion.js +4 -4
  6. package/dist/color/index.js +1 -1
  7. package/dist/color/setting.js +1 -1
  8. package/dist/{constants-DAnmXDew.js → constants-BxjhKpTv.js} +1 -1
  9. package/dist/core/constants.js +1 -1
  10. package/dist/core/environment.js +1 -1
  11. package/dist/core/filterShaders.js +1 -1
  12. package/dist/core/friendly_errors/fes_core.js +1 -1
  13. package/dist/core/friendly_errors/file_errors.js +1 -1
  14. package/dist/core/friendly_errors/index.js +1 -1
  15. package/dist/core/friendly_errors/param_validator.js +1 -1
  16. package/dist/core/friendly_errors/sketch_verifier.js +1 -1
  17. package/dist/core/helpers.js +1 -1
  18. package/dist/core/init.js +4 -4
  19. package/dist/core/internationalization.js +1 -1
  20. package/dist/core/legacy.js +4 -4
  21. package/dist/core/main.js +4 -4
  22. package/dist/core/p5.Graphics.js +3 -3
  23. package/dist/core/p5.Renderer.js +2 -2
  24. package/dist/core/p5.Renderer2D.js +4 -4
  25. package/dist/core/p5.Renderer3D.js +3 -3
  26. package/dist/core/rendering.js +3 -3
  27. package/dist/dom/dom.js +1 -1
  28. package/dist/dom/index.js +1 -1
  29. package/dist/dom/p5.Element.js +1 -1
  30. package/dist/dom/p5.MediaElement.js +1 -1
  31. package/dist/image/const.js +1 -1
  32. package/dist/image/filterRenderer2D.js +3 -3
  33. package/dist/image/image.js +3 -3
  34. package/dist/image/index.js +3 -3
  35. package/dist/image/loading_displaying.js +3 -3
  36. package/dist/image/p5.Image.js +2 -2
  37. package/dist/io/files.js +3 -3
  38. package/dist/io/index.js +3 -3
  39. package/dist/{main-E-swj5tF.js → main-DDs4QOnh.js} +3 -3
  40. package/dist/math/Matrices/Matrix.js +1 -1
  41. package/dist/math/Matrices/MatrixNumjs.js +1 -1
  42. package/dist/math/index.js +1 -1
  43. package/dist/math/p5.Matrix.js +1 -1
  44. package/dist/math/p5.Vector.js +1 -1
  45. package/dist/math/trigonometry.js +1 -1
  46. package/dist/{p5.Renderer-DOk9UW65.js → p5.Renderer-BSGddFv7.js} +1 -1
  47. package/dist/{rendering-B8V5Zt4k.js → rendering-C9g7uSQ5.js} +2 -2
  48. package/dist/shape/2d_primitives.js +1 -1
  49. package/dist/shape/attributes.js +1 -1
  50. package/dist/shape/custom_shapes.js +1 -1
  51. package/dist/shape/index.js +1 -1
  52. package/dist/type/index.js +2 -2
  53. package/dist/type/p5.Font.js +2 -2
  54. package/dist/type/textCore.js +2 -2
  55. package/dist/webgl/3d_primitives.js +3 -3
  56. package/dist/webgl/GeometryBuilder.js +1 -1
  57. package/dist/webgl/ShapeBuilder.js +1 -1
  58. package/dist/webgl/enums.js +1 -1
  59. package/dist/webgl/index.js +3 -3
  60. package/dist/webgl/interaction.js +1 -1
  61. package/dist/webgl/light.js +3 -3
  62. package/dist/webgl/loading.js +3 -3
  63. package/dist/webgl/material.js +3 -3
  64. package/dist/webgl/p5.Camera.js +3 -3
  65. package/dist/webgl/p5.Framebuffer.js +3 -3
  66. package/dist/webgl/p5.Geometry.js +1 -1
  67. package/dist/webgl/p5.Quat.js +1 -1
  68. package/dist/webgl/p5.RendererGL.js +3 -3
  69. package/dist/webgl/p5.Texture.js +3 -3
  70. package/dist/webgl/text.js +3 -3
  71. package/dist/webgl/utils.js +3 -3
  72. package/dist/webgpu/index.js +1 -1
  73. package/dist/webgpu/p5.RendererWebGPU.js +2 -2
  74. package/lib/p5.esm.js +2 -2
  75. package/lib/p5.esm.min.js +1 -1
  76. package/lib/p5.js +2 -2
  77. package/lib/p5.min.js +1 -1
  78. package/lib/p5.webgpu.esm.js +2 -2
  79. package/lib/p5.webgpu.js +2 -2
  80. package/lib/p5.webgpu.min.js +1 -1
  81. package/package.json +1 -1
@@ -11,7 +11,7 @@ const _PI = Math.PI;
11
11
  * @property {String} VERSION
12
12
  * @final
13
13
  */
14
- const VERSION = '2.2.2-rc.1';
14
+ const VERSION = '2.2.2';
15
15
 
16
16
  // GRAPHICS RENDERER
17
17
  /**
@@ -7657,7 +7657,7 @@ ${hookUniformFields}}
7657
7657
  {
7658
7658
  vertex: {},
7659
7659
  fragment: {
7660
- "vec4<f32> getColor": `(inputs: FilterInputs, tex: texture_2d<f32>, tex_sampler: sampler) -> vec4<f32> {
7660
+ "vec4<f32> getColor": `(inputs: FilterInputs, canvasContent: texture_2d<f32>, canvasContent_sampler: sampler) -> vec4<f32> {
7661
7661
  return textureSample(tex, tex_sampler, inputs.texCoord);
7662
7662
  }`,
7663
7663
  },
package/lib/p5.webgpu.js CHANGED
@@ -14,7 +14,7 @@
14
14
  * @property {String} VERSION
15
15
  * @final
16
16
  */
17
- const VERSION = '2.2.2-rc.1';
17
+ const VERSION = '2.2.2';
18
18
 
19
19
  // GRAPHICS RENDERER
20
20
  /**
@@ -7660,7 +7660,7 @@ ${hookUniformFields}}
7660
7660
  {
7661
7661
  vertex: {},
7662
7662
  fragment: {
7663
- "vec4<f32> getColor": `(inputs: FilterInputs, tex: texture_2d<f32>, tex_sampler: sampler) -> vec4<f32> {
7663
+ "vec4<f32> getColor": `(inputs: FilterInputs, canvasContent: texture_2d<f32>, canvasContent_sampler: sampler) -> vec4<f32> {
7664
7664
  return textureSample(tex, tex_sampler, inputs.texCoord);
7665
7665
  }`,
7666
7666
  },