@nielse63/webgl-utils
v1.0.5
Published
> A utility module for the WebGL Decorative Backgrounds examples
Downloads
2
Readme
@nielse63/webgl-utils
A utility module for the WebGL Decorative Backgrounds examples
Installation
Using Yarn
yarn add --save @nielse63/webgl-utils
or NPM
npm install --save @nielse63/webgl-utils
Usage
import * as utils from '@nielse63/webgl-utils';
/**
* API:
* getCanvasSize(<canvas>)
* onresize(<canvas>, PerspectiveCamera, WebGLRenderer)
* dotTextureImage: String
* createRenderer(<canvas>, Color)
* createShaderMaterial(String, String, TextureLoader)
*/
API
TODO: Add actual API documentation