Read. Observe. Learn. :-) DCW Endeavors

JavaScript 3D Rendering Engine Part 2 - Solid Cube

This is the second video of Vanilla Javascript 3D cube, by dionyziz. In this video, dionyziz gives the details on how to produce a solid rotating, gently swiveling cube. One of the main ingredients necessary to produce the solid sides of this cube is the vector cross product. Read that link to learn more.

I plan on adding my own controls to this cube, eventually, but for now I simply wanted to upload it.

UPDATE 5 15 22 - I wrote a blog post giving the details of how the code works, along with the code itself listed at the bottom of the blog page.

If you are interested in learning computer graphics and 3D programming, here are some links to check out: