Skip to content

paulmasson/threejs-with-controls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three.js bundled with OrbitControls

Vanilla Three.js including basic controls. If that is all you need, you can link directly to this build in your web pages:

<script src="https://cdn.jsdelivr.net/gh/paulmasson/threejs-with-controls@r121/build/three.min.js"></script>

The steps to create this build from a stable tagged version are

  • Edit the version number of three in package.json to indicate the desired version. These numbers are of the form 0.nnn.n, where the last digit reflects possible modifications after the first release. Available versions can be displayed with npm show three versions.

  • Configure the library with npm install.

  • Build the library with npm run build.

The minified file will be located in the build directory.

If you need additional features, then simply add the appropriate export lines to Three.js and build the library yourself.

Live examples using this build via MathCell:

Bourke Harmonics
Cardinal Sine Function
Hyperbolic Helicoid
Schwarz Primitive Surface
Umbilic Torus