Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brunosimon/three.js-template


https://github.com/brunosimon/three.js-template

Last synced: about 2 months ago
JSON representation

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.