🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

webgl-decorative-backgrounds

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webgl-decorative-backgrounds

> Sample decorative backgrounds using WebGL

1.0.6
latest
Source
npm
Version published
Weekly downloads
62
-31.87%
Maintainers
1
Weekly downloads
 
Created
Source

WebGL Decorative Backgrounds

Sample decorative backgrounds using WebGL

Build Status npm node

Maintainability David David

Demos

WebGL Decorative Backgrounds

Based on the amazing work from the people at Codrops, this is a modern, lightweight extension of previously crafted WebGL Decorative Backgrounds.

Installation

To download and install the entire repo, including all examples, build scripts, etc., clone the repo and install the dependencies:

git clone https://github.com/nielse63/WebGL-Decorative-Backgrounds.git
cd WebGL-Decorative-Backgrounds
yarn

If you only want to use a single background in an existing project, you can install the individual module and import it like you would any other script:

yarn add @nielse63/cubes

To see all the scoped packages available for installation, visit the packages/ directory.

Usage

Assuming you've installed a single, scoped package (i.e. @nielse63/cubes), simply import the main script like you would any other ESModule:

import cubes from '@nielse63/cubes';

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

Credit

FAQs

Package last updated on 06 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts