MerantauWarrior / rive-wasm

Wasm/JS runtime for Rive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Discord badge Twitter handle

Rive Web

Rive hero image

A JavaScript/TypeScript and Web Assembly (WASM) runtime library for Rive.

This library allows full control over Rive files with a high-level API for hooking up many simple interactions and animations, as well as a low-level API that allows you to drive your own render loop to create multiple artboards, animations, and state machines all in one canvas.

Table of contents

Rive Overview

Rive is a real-time interactive design and animation tool that helps teams create and run interactive animations anywhere. Designers and developers use our collaborative editor to create motion graphics that respond to different states and user inputs. Our lightweight open-source runtime libraries allow them to load their animations into apps, games, and websites.

🏑 Homepage

πŸ“˜ General help docs

πŸ›  Resources for building in Rive

Getting Started

Follow along with the link below for a quick start in getting Rive JS integrated into your web applications.

Getting Started with Rive in Web

API documentation

Supported Browsers

Rive can be used in all major browsers. We're constantly working to improve performance with our renderer so that animations playback smoothly for all.

Examples

Check out some of the examples/ projects in this codebase, as well as some of the CodeSandboxes below to see examples of using rive-wasm:

High-level API usage

Low-level API usage

Migration Guides

Using rive-js or an older version of the runtime and need to learn how to upgrade to the latest version? Check out the migration guides below in our help center that help guide you through major version bumps; breaking changes and all!

Migration guides

Contributing

We love contributions! Check out our contributing docs to get more details into how to run this project, the examples, and more all locally.

Issues

Have an issue with using the runtime, or want to suggest a feature/API to help make your development life better? Log an issue in our issues tab! You can also browse older issues and discussion threads there to see solutions that may have worked for common problems.

About

Wasm/JS runtime for Rive

License:MIT License


Languages

Language:C++ 39.6%Language:TypeScript 25.9%Language:JavaScript 15.6%Language:HTML 10.8%Language:C 4.4%Language:Shell 1.2%Language:Lua 1.0%Language:Vue 0.9%Language:CSS 0.7%