https://github.com/ebabel-games/ebabel-light
Setup a THREE.js PointLight and add it to the scene.
https://github.com/ebabel-games/ebabel-light
3d game game-components game-development threejs
Last synced: 5 months ago
JSON representation
Setup a THREE.js PointLight and add it to the scene.
- Host: GitHub
- URL: https://github.com/ebabel-games/ebabel-light
- Owner: ebabel-games
- License: gpl-3.0
- Created: 2018-09-29T14:59:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-07T22:28:33.000Z (about 7 years ago)
- Last Synced: 2025-06-02T16:19:32.366Z (6 months ago)
- Topics: 3d, game, game-components, game-development, threejs
- Language: JavaScript
- Homepage:
- Size: 311 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ebabel-light
[](https://travis-ci.org/ebabel-games/ebabel-light)
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
```