O'Reilly logo

Learning Three.js: The JavaScript 3D Library for WebGL by Jos Dirksen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

We've seen a lot in this chapter. We've introduced a couple of advanced geometries and even showed you how you can create interesting looking geometries using a couple of simple binary operations. The most important things to remember from this chapter are these:

  • You can create really beautiful shapes using the advanced geometries such as ConvexGeometry, TubeGeometry, and LatheGeometry. Once again, experiment with these geometries.
  • It is possible to convert existing SVG paths to Three.js. You still might need to fine-tune the paths using tools such as Inkscape.
  • With ExtrudeGeometry you can easily create 3D geometries from 2D shapes. Normally this is done by extruding along the z-axis, but you can also extrude along a custom path.
  • When working ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required