Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.02 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.02 KB

Three.js Starter Template

A Three.js starter template that helps you group your code better and hides the boilerplate clutter away from your main file. This template does not cover all scenarios or usages of Three.js, and is still under development. Feel free to fork it or raise pull requests! By the way, I have created a newer react-three-fiber starter template, go check it out and fork it! https://github.com/franky-adl/rtf-starter-template

Repo cover image The sample scene used by this boilerplate

Features of this template

  • Does all the usual Three.js setup code for you so you can focus on your own scene and objects
  • Uses async/await for texture/images loading such that the scene unveils only after all images are loaded
  • Uses Parcel with minimal configurations so you don't need to care about setting up the bundler

Package versions

  • dat.gui: 0.x (to get latest 0.* version)
  • three: 0.x (to get latest 0.* version)
  • parcel: ^2.7.0

How to run locally

  1. npm i
  2. make dev