Skip to content

franky-adl/threejs-starter-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published