@rive-app/canvas 1.0.61 → 1.0.64
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 +6 -5
- package/package.json +1 -1
- package/rive.js +1 -1
- package/rive.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|

|
|
2
2
|
# Rive
|
|
3
|
-
High
|
|
3
|
+
High-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.
|
|
4
4
|
|
|
5
5
|
## Canvas
|
|
6
6
|
```
|
|
7
7
|
npm install @rive-app/canvas
|
|
8
8
|
```
|
|
9
|
-
An easy
|
|
9
|
+
An easy-to-use high-level Rive API using a backing [CanvasRenderingContext2D](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D) renderer. This lets Rive use the browser's native high-level vector graphics renderer. Some benefits of this package:
|
|
10
10
|
- Extremely small download size
|
|
11
|
-
-
|
|
12
|
-
-
|
|
11
|
+
- Great for displaying many animated canvases concurrently on the screen. This is ideal for when you want to render lists or grids of Rive animations on the screen, as there is no context limit by the browser (as opposed to WebGL)
|
|
12
|
+
- Support for simple vector graphics animations, raster, and mesh deformations
|
|
13
|
+
- Requests the Web Assembly (WASM) backing dependency for you
|
|
13
14
|
|
|
14
|
-
[
|
|
15
|
+
[Getting Started](https://github.com/rive-app/rive-wasm#getting-started)
|
package/package.json
CHANGED
package/rive.js
CHANGED
|
@@ -136,7 +136,7 @@ k.run=zc;if(k.preInit)for("function"==typeof k.preInit&&(k.preInit=[k.preInit]);
|
|
|
136
136
|
/* 2 */
|
|
137
137
|
/***/ ((module) => {
|
|
138
138
|
|
|
139
|
-
module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"1.0.
|
|
139
|
+
module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"1.0.64","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
140
140
|
|
|
141
141
|
/***/ }),
|
|
142
142
|
/* 3 */
|
package/rive.wasm
CHANGED
|
Binary file
|