@nielse63/webgl-utils

1.0.5 • Public • Published

@nielse63/webgl-utils

A utility module for the WebGL Decorative Backgrounds examples

npm

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

Readme

Keywords

none

Package Sidebar

Install

npm i @nielse63/webgl-utils

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

2.94 kB

Total Files

5

Last publish

Collaborators

  • nielse63