Three.js Boilerplate/Examples

Overview

This is an example of a basic three.js scene using an externally hosted verison of three.js. View the code at:

This GitHub Repo



To add models, textures, and additional three.js features, you will need to add them to your site. In the case of this example, I would add the scene scripts to the "src" folder and models/textures to the "assets" folder.

Here are other three.js examples which use an internally hosted verison of three.js.

glTF Model and Orbit Controls Example

WASD Pointer Lock Controls Example

Ascii Effect Example

Combination of Ascii Effect and glTF Model Examples

Animated Model and Font Loader Example

WASD Pointer Lock Controls and Image Loading Example