Skip to content

gmonseur/threejs-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Threejs Boilerplate

Threejs Boilerplate is a starter kit to begin a three.js project quickly and simply.
Enjoy and have fun!

Demo

You can see this code in action here : https://gmonseur.github.io/threejs-boilerplate

Features

Structure

  • Init three.js
  • Scene
  • Camera
  • Lights
    • Ambient light
    • Front light (+ helpers)
  • Floor (+ texture)
  • Object (Cube + texture)
  • Render
  • Window resize event

License

MIT License