ebabel-light

Setup a THREE.js PointLight and add it to the scene.

Usage no npm install needed!

<script type="module">
  import ebabelLight from 'https://cdn.skypack.dev/ebabel-light';
</script>

README

ebabel-light

Build Status

Setup a THREE.js PointLight and add it to the scene.

Instructions for Module Usage in your project/game

Install

npm i --save ebabel-light

Usage

const light = require('ebabel-light');

light({ THREE, scene });

Instructions for further development of this module i.e. ebabel-light

Fork and clone repo, then start your new develop branch

  • fork repository on github.com
  • git clone 'fork repository'
  • git checkout -b develop

First step when developing this module

npm install

Before checking in code test this module

npm test

Generate documentation for this module

npm run jsdoc