@rive-app/canvas-advanced-single 2.49.3 → 2.49.4
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 +12 -0
- package/canvas_advanced_single.mjs +1 -1
- package/package.json +7 -3
- package/rive_advanced.mjs.d.ts +2 -0
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
# Rive
|
|
4
4
|
Low-level Rive API using CanvasRenderingContext2D and inline WASM. Please see https://github.com/rive-app/rive-wasm for a list of all the available web runtimes and their details.
|
|
5
5
|
|
|
6
|
+
[Rive](https://rive.app) is an agent-native 2D and 3D engine for games, apps, and interactive UI. Use it as your whole engine, or add it to the products you already have. Build with your coding agent through the [Rive CLI](https://rive.app/agents), or draw, rig, and animate by hand with the professional design and animation tools in the [Rive Editor](https://rive.app/editor). Both work on the same files. Open-source runtimes, no royalties or runtime fees. Rive files (`.riv`) play natively on web, mobile, desktop, game engines, consoles, smart TVs, and cars.
|
|
7
|
+
|
|
6
8
|
## Canvas Advanced Single
|
|
7
9
|
```
|
|
8
10
|
npm install @rive-app/canvas-advanced-single
|
|
@@ -14,3 +16,13 @@ A low-level Rive API using the [CanvasRenderingContext2D](https://developer.mozi
|
|
|
14
16
|
- Web Assembly (WASM) is part of the JS bundle; there is no need to make a request to load it in at runtime
|
|
15
17
|
|
|
16
18
|
[Getting Started](https://github.com/rive-app/rive-wasm#getting-started)
|
|
19
|
+
|
|
20
|
+
## Build with your agent
|
|
21
|
+
|
|
22
|
+
Paste this into Claude Code, Codex, Cursor, or any agent that runs commands on your computer:
|
|
23
|
+
|
|
24
|
+
```text
|
|
25
|
+
Install the Rive CLI from rive.app/cli. Build an interactive hero for my website as a Rive file and add it to the page with the Rive web runtime.
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Your agent installs the [Rive CLI](https://rive.app/agents), writes the scene, and opens a preview window that rebuilds every time it saves. Keep giving it notes, or open the same file in the [Rive Editor](https://editor.rive.app/) and shape it by hand. Trying it needs no account. Writing the `.riv` that ships on your site needs a free Rive account. Free exports play a short Rive splash screen; [paid plans](https://rive.app/pricing) export without it. See [Getting started with the Rive CLI](https://rive.app/docs/cli/getting-started).
|