q5 2.20.10 → 2.21.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 (6) hide show
  1. package/README.md +4 -4
  2. package/deno.json +1 -1
  3. package/package.json +3 -3
  4. package/q5.d.ts +1141 -920
  5. package/q5.js +261 -136
  6. package/q5.min.js +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # <img src="https://q5js.org/q5js_logo.webp" height="64"> <img src="https://q5js.org/q5js_brand.webp" height="64">
2
2
 
3
- ## Visit [q5js.org](https://q5js.org)! 🌟
3
+ ## Visit [q5js.org](https://q5js.org)! 💫
4
4
 
5
5
  - inspired by [p5.js][] and [Processing Java][] ⭐️
6
6
  - performance optimized for interactive art 🚀
@@ -19,6 +19,8 @@ createCanvas(100, 100);
19
19
  circle(50, 50, 50);
20
20
  ```
21
21
 
22
+ q5 doesn't replicate all of p5's functionality, but it's a superior alternative for many use cases. 🛠️
23
+
22
24
  ## Documentation
23
25
 
24
26
  Browse the [q5 reference pages](https://q5js.org/learn) to learn how to use q5.js.
@@ -32,7 +34,7 @@ Use the [q5.d.ts](q5.d.ts) file in Visual Studio Code to get autocompletion and
32
34
  "compilerOptions": {
33
35
  "target": "ESNext"
34
36
  },
35
- "include": ["*.js", "**/*.js", "node_modules/q5/q5.d.ts"]
37
+ "include": ["*.js", "*/*.js", "node_modules/q5/q5.d.ts"]
36
38
  }
37
39
  ```
38
40
 
@@ -50,8 +52,6 @@ Please report issues or comment on existing issues before working on a pull requ
50
52
 
51
53
  All contributors must agree to the [code of conduct](CODE_OF_CONDUCT.md).
52
54
 
53
- If the q5 project becomes as successful as The Processing Foundation, all contributing developers will be fairly paid for their work. The project will be run as a [worker co-op](https://en.wikipedia.org/wiki/Worker_cooperative).
54
-
55
55
  ## Licensing
56
56
 
57
57
  q5.js was created by the q5 team and is licensed under the LGPLv3. q5 is not affiliated with The Processing Foundation.
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@q5/q5",
3
- "version": "2.20.0",
3
+ "version": "2.21.0",
4
4
  "license": "LGPL-3.0",
5
5
  "description": "A sequel to p5.js that's optimized for interactive art",
6
6
  "author": "quinton-ashley",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "q5",
3
- "version": "2.20.10",
4
- "description": "A sequel to p5.js that's optimized for interactive art",
3
+ "version": "2.21.1",
4
+ "description": "A beginner friendly graphics library that's optimized for interactive art",
5
5
  "author": "quinton-ashley",
6
6
  "contributors": [
7
7
  "Tezumie",
@@ -11,7 +11,7 @@
11
11
  "homepage": "https://q5js.org/home",
12
12
  "main": "q5-server.js",
13
13
  "scripts": {
14
- "bundle": "cat src/q5-core.js src/q5-canvas.js src/q5-c2d-canvas.js src/q5-c2d-drawing.js src/q5-c2d-image.js src/q5-c2d-soft-filters.js src/q5-c2d-text.js src/q5-ai.js src/q5-color.js src/q5-display.js src/q5-dom.js src/q5-input.js src/q5-math.js src/q5-record.js src/q5-sound.js src/q5-util.js src/q5-vector.js src/q5-webgpu-canvas.js src/q5-webgpu-drawing.js src/q5-webgpu-image.js src/q5-webgpu-text.js > q5.js",
14
+ "bundle": "cat src/q5-core.js src/q5-canvas.js src/q5-c2d-canvas.js src/q5-c2d-shapes.js src/q5-c2d-image.js src/q5-c2d-soft-filters.js src/q5-c2d-text.js src/q5-ai.js src/q5-color.js src/q5-display.js src/q5-dom.js src/q5-input.js src/q5-math.js src/q5-record.js src/q5-sound.js src/q5-util.js src/q5-vector.js src/q5-webgpu-canvas.js src/q5-webgpu-shapes.js src/q5-webgpu-image.js src/q5-webgpu-text.js src/q5-webgpu-shaders.js > q5.js",
15
15
  "min": "terser q5.js --compress ecma=2024 --mangle > q5.min.js",
16
16
  "dist": "bun bundle && bun min",
17
17
  "dist-p5play": "bun dist && cp q5.js ../../web/p5play-web/v3/q5.js && cp q5.min.js ../../web/p5play-web/v3/q5.min.js",