@rive-app/webgl
TypeScript icon, indicating that this package has built-in type declarations

2.27.3 • Public • Published

npm

Rive

High-level Rive API using WebGL. Please see https://github.com/rive-app/rive-wasm for a list of all the available web runtimes and their details.

WebGL

npm install @rive-app/webgl

An easy-to-use high-level Rive API using the WebGL renderer. This runtime will support Rive's upcoming advanced rendering features which may not be available to the Canvas renderers. Some benefits of this package:

  • Highest fidelity with edit-time experience.
  • Support for future advanced rendering features
  • Requests the Web Assembly (WASM) backing dependency for you

A note about WebGL: Most browsers limit the number of concurrent WebGL contexts by page/domain. Using Rive, this means that the browser limit impacts the number of new Rive({...}) instances created. See the README docs for the useOffscreenRenderer option that may assist in working around this limitation.

If you're planning on displaying Rive content in a list/grid or many times on the same page, it's up to you to manage the lifecycle of the provided context and <canvas> element. If you need to display many animations (i.e grids/lists), consider using the @rive-app/canvas package which uses the CanvasRenderingContext2D renderer and does not have a context limitation.

Getting Started

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.27.3454latest

Version History

VersionDownloads (Last 7 Days)Published
2.27.3454
2.27.2367
2.27.1671
2.27.0105
2.26.92
2.26.81,119
2.26.7156
2.26.617
2.26.5144
2.26.4100
2.26.324
2.26.22
2.26.124
2.26.00
2.25.714
2.25.62
2.25.516
2.25.41
2.25.340
2.25.20
2.25.10
2.25.00
2.24.10
2.24.00
2.23.11191
2.23.102
2.23.90
2.23.80
2.23.70
2.23.60
2.23.5104
2.23.40
2.23.33
2.23.20
2.23.10
2.23.00
2.22.03
2.21.744
2.21.6147
2.21.51
2.21.40
2.21.322
2.21.20
2.21.1115
2.21.00
2.20.20
2.20.11
2.20.03
2.19.85
2.19.780
2.19.60
2.19.50
2.19.429
2.19.32
2.19.25
2.19.10
2.19.00
2.18.04
2.17.3276
2.17.20
2.17.10
2.17.00
2.16.02
2.15.6103
2.15.50
2.15.40
2.15.30
2.15.21
2.15.10
2.15.02
2.14.40
2.14.31
2.14.20
2.14.136
2.14.00
2.13.22
2.12.20
2.13.00
2.12.10
2.12.00
2.11.18
2.11.00
2.10.40
2.10.313
2.10.217
2.10.10
2.10.07
2.9.30
2.9.2119
2.9.10
2.9.00
2.8.33
2.8.20
2.8.10
2.8.00
2.7.90
2.7.80
2.7.70
2.7.6255
2.7.50
2.7.43
2.7.30
2.7.20
2.7.13
2.7.0100
2.6.10
2.6.00
2.5.02
2.4.40
2.4.31
2.4.20
2.4.10
2.4.00
2.3.10
2.3.00
2.2.20
2.2.10
2.2.00
2.1.50
2.1.40
2.1.3467
2.1.253
2.1.10
2.1.00
2.0.06
1.2.4187
1.2.30
1.2.20
1.2.130
1.2.00
1.1.100
1.1.91
1.1.80
1.1.70
1.1.610
1.1.50
1.1.45
1.1.30
1.1.20
1.1.10
1.1.00
1.0.1040
1.0.1030
1.0.9810
1.0.970
1.0.960
1.0.950
1.0.9438
1.0.936
1.0.920
1.0.911
1.0.900
1.0.890
1.0.880
1.0.870
1.0.860
1.0.850
1.0.844
1.0.830
1.0.820
1.0.818
1.0.800
1.0.7910
1.0.780
1.0.770
1.0.760
1.0.750
1.0.740
1.0.730
1.0.720
1.0.710
1.0.700
1.0.690
1.0.680
1.0.670
1.0.660
1.0.652
1.0.640
1.0.6316
1.0.620
1.0.614
1.0.600
1.0.590
1.0.580
1.0.570
1.0.560
1.0.550
1.0.540
1.0.530
1.0.520
1.0.510
1.0.500
1.0.490
1.0.480
1.0.470
1.0.460
1.0.450
1.0.4483
1.0.43125
1.0.420
1.0.410
1.0.400
1.0.3920
1.0.380
1.0.370
1.0.361
1.0.355
1.0.340
1.0.3316
1.0.320
1.0.310
1.0.300
1.0.290
1.0.283
1.0.273
1.0.260
1.0.250
1.0.242
1.0.233
1.0.220
1.0.210
1.0.200
1.0.190
1.0.180
1.0.170
1.0.167
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.84
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20

Package Sidebar

Install

npm i @rive-app/webgl

Homepage

rive.app

Weekly Downloads

6,103

Version

2.27.3

License

MIT

Unpacked Size

11.4 MB

Total Files

8

Last publish

Collaborators

  • rive-engineering
  • luigi-rosso
  • guidorosso
  • avivian_rive
  • phil_rive
OSZAR »