Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunosimon/three.js-template
https://github.com/brunosimon/three.js-template
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/brunosimon/three.js-template
- Owner: brunosimon
- Created: 2018-08-25T16:40:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-10T09:31:22.000Z (almost 6 years ago)
- Last Synced: 2024-08-04T09:04:27.910Z (3 months ago)
- Language: JavaScript
- Size: 440 KB
- Stars: 78
- Watchers: 6
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Three.js template
> Simple Three.js starter## Features
- [Parcel.js](https://parceljs.org/)
- [Postprocessing](https://www.npmjs.com/package/postprocessing)
- [SMAA Pass](https://vanruesc.github.io/postprocessing/public/demo/#smaa)
- [Orbit control](https://www.npmjs.com/package/three-orbit-controls)
- EventEmitter class (used to trigger event)
- Sizes class (used to get resize events and viewport sizes)
- Time class (used to get RAF events)## Setup
Download [Node.js](https://nodejs.org/en/download/).
Run this followed commands:``` bash
# Just be sure that you've got parcel js on you system
npm install -g parcel-bundler# Install dependencies (only for first time)
npm i# Serve at localhost:1234
npm run dev# Build for production in the dist/ directory
npm run build
```## Issues
If you have some issues while try to build at first time, just check that parceljs(https://parceljs.org/getting_started.html) installed on your system.