Hooks-Based WebGL Library for React

Hooks-Based WebGL Library for React

React components, renderer and hooks for in React Vertex. At its most simple, a scene would look like:

Or something like:

Of course, you can create your own custom components to build up that document however you like:

The camera takes just two props that define the (matrix) and the (matrix):

The and should be instances of gl-matrix mat4. You can get a function to render the scene by calling anywhere in a React Vertex component tree.

Source: github.com