@nielse63/webgl-waves
v1.0.5
Published
> A sample WebGL decorative background using Three.js
Downloads
1
Readme
@nielse63/webgl-waves
A sample WebGL decorative background using Three.js
Given a <canvas>
NodeElement as the only parameter, the function will render an animation using Three.js
Installation
Using Yarn
yarn add --save @nielse63/webgl-waves
or NPM
npm install --save @nielse63/webgl-waves
Usage
import waves from '@nielse63/webgl-waves';
const canvas = document.querySelector('canvas');
waves(canvas);