npm.io
1.0.5 • Published 8 years ago

@nielse63/webgl-brain

Licence
MIT
Version
1.0.5
Deps
2
Size
3 kB
Vulns
1
Weekly
0

@nielse63/webgl-brain

A sample WebGL decorative background using Three.js

[npm Dependency Status

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-brain

or NPM

npm install --save @nielse63/webgl-brain

Usage

import brain from '@nielse63/webgl-brain';

const canvas = document.querySelector('canvas');
brain(canvas);