@thi.ng/hiccup-canvas 3.1.40 → 3.1.42

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-02-19T20:59:58Z
3
+ - **Last updated**: 2025-03-09T19:21:53Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 202 standalone projects, maintained as part
10
+ > This is one of 203 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -121,7 +121,7 @@ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
121
121
 
122
122
  ## Usage examples
123
123
 
124
- 14 projects in this repo's
124
+ 15 projects in this repo's
125
125
  [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
126
126
  directory are using this package:
127
127
 
@@ -141,6 +141,7 @@ directory are using this package:
141
141
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/hiccup-canvas-arcs.jpg" width="240"/> | Animated arcs & drawing using hiccup-canvas | [Demo](https://demo.thi.ng/umbrella/hiccup-canvas-arcs/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hiccup-canvas-arcs) |
142
142
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/hiccup-canvas-basics.png" width="240"/> | Basic hiccup-based canvas drawing | [Demo](https://demo.thi.ng/umbrella/hiccup-canvas-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hiccup-canvas-basics) |
143
143
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/poly-subdiv.jpg" width="240"/> | Animated, iterative polygon subdivisions & visualization | [Demo](https://demo.thi.ng/umbrella/poly-subdiv/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/poly-subdiv) |
144
+ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/scenegraph-pan-zoom.avif" width="240"/> | Basic 2D scenegraph example with pan/zoom functionality | [Demo](https://demo.thi.ng/umbrella/scenegraph-pan-zoom/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/scenegraph-pan-zoom) |
144
145
 
145
146
  ## API
146
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-canvas",
3
- "version": "3.1.40",
3
+ "version": "3.1.42",
4
4
  "description": "Hiccup shape tree renderer for vanilla Canvas 2D contexts",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,13 +39,13 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.21",
43
- "@thi.ng/checks": "^3.7.0",
44
- "@thi.ng/color": "^5.7.26",
45
- "@thi.ng/geom-arc": "^2.1.167",
46
- "@thi.ng/math": "^5.11.21",
47
- "@thi.ng/pixel": "^7.3.18",
48
- "@thi.ng/vectors": "^7.12.22"
42
+ "@thi.ng/api": "^8.11.22",
43
+ "@thi.ng/checks": "^3.7.2",
44
+ "@thi.ng/color": "^5.7.28",
45
+ "@thi.ng/geom-arc": "^2.1.169",
46
+ "@thi.ng/math": "^5.11.22",
47
+ "@thi.ng/pixel": "^7.3.20",
48
+ "@thi.ng/vectors": "^7.12.24"
49
49
  },
50
50
  "devDependencies": {
51
51
  "esbuild": "^0.25.0",
@@ -136,5 +136,5 @@
136
136
  ],
137
137
  "year": 2018
138
138
  },
139
- "gitHead": "2958e6a9881bd9e06de587a2141f6d23c64278db\n"
139
+ "gitHead": "55987d581e4985b1c3091ba6be3f9b53a0c5eeea\n"
140
140
  }