Making Shapes with JavaScript

We’ve met one shape: the sphere. Lots of shapes are available to 3D programmers. Shapes can be simple, like cubes, pyramids, cones, and spheres. Shapes can also be more complex, like faces or cars. In this book we’ll stick with simple shapes. When we build things like trees, we’ll combine simple shapes, such as spheres and cylinders, to make them.

So let’s explore those shapes…

Get 3D Game Programming for Kids, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.