Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rive-app/canvas-advanced-lite

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rive-app/canvas-advanced-lite

Rive's lite low-level canvas based web api.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
increased by37.21%
Maintainers
4
Weekly downloads
 
Created
Source

npm

Rive

Low-level lite Rive API using CanvasRenderingContext2D. Please see https://help.rive.app/runtimes/overview/web-js/canvas-vs-webgl for a list of all the available web runtimes and their details.

Canvas Advanced

npm install @rive-app/canvas-advanced-lite

A low-level Rive API using the CanvasRenderingContext2D renderer. It has the same benefits as the regular @rive-app/canvas package plus:

  • Full control over the update and render loop
  • Allows for rendering multiple Rive artboards to a single canvas
  • Allows deeper control and manipulation of the components in a Rive hierarchy
  • Web Assembly (WASM) is part of the NPM bundle, but you load in the WASM manually

Getting Started

Why Lite?

The complimentary @rive-app/canvas-advanced dependency supports all Rive features and contains the necessary backing dependencies to render those graphics. This lite version has the same API, but does not compile and build with certain dependencies in order to keep the package size as small as possible.

At this time, this lite version of @rive-app/canvas-advanced-lite will not render Rive Text onto the canvas. Note however, that even if your Rive file may include Rive Text components, rendering the graphic should not cause any app errors, or cease to render.

Keywords

FAQs

Package last updated on 19 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc