@rive-app/canvas-advanced 1.0.3 → 1.0.7
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/README.md +15 -0
- package/package.json +6 -2
- package/rive.wasm +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Rive
|
|
4
|
+
Low level Rive API using CanvasRenderingContext2D. Please see https://github.com/rive-app/rive-wasm for a list of all the available web runtimes and their details.
|
|
5
|
+
|
|
6
|
+
### Canvas Advanced
|
|
7
|
+
```
|
|
8
|
+
npm install @rive-app/canvas-advanced
|
|
9
|
+
```
|
|
10
|
+
A low level Rive API using the CanvasRenderingContext2D renderer. It has the same benefits as the regular Canvas package plus:
|
|
11
|
+
- Full control over the update and render loop.
|
|
12
|
+
- Allows for rendering multiple Rive artboards to a single canvas.
|
|
13
|
+
- Allows deeper control and manipulation of the components in a Rive hierarchy.
|
|
14
|
+
|
|
15
|
+
[Quickstart](https://github.com/rive-app/rive-wasm#quick-start)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rive-app/canvas-advanced",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Rive's lightweight low-level canvas based web api.",
|
|
5
5
|
"main": "canvas_advanced.mjs",
|
|
6
6
|
"homepage": "https://rive.app",
|
|
@@ -25,5 +25,9 @@
|
|
|
25
25
|
"canvas_advanced.mjs",
|
|
26
26
|
"rive.wasm"
|
|
27
27
|
],
|
|
28
|
-
"dependencies": {}
|
|
28
|
+
"dependencies": {},
|
|
29
|
+
"browser": {
|
|
30
|
+
"fs": false,
|
|
31
|
+
"path": false
|
|
32
|
+
}
|
|
29
33
|
}
|
package/rive.wasm
CHANGED
|
Binary file
|