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
inpackage.json
to indicate the desired version. These numbers are of the form0.nnn.n
, where the last digit reflects possible modifications after the first release. Available versions can be displayed withnpm 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