1.0.5 • Published 6 years ago

@nielse63/webgl-cubes v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

@nielse63/webgl-cubes

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

or NPM

npm install --save @nielse63/webgl-cubes

Usage

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

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