Creating basic 3D objects in the browser shouldn't require a large or complex library.
So, I built a micro JavaScript library (~5kb) for rendering these basic shapes. While rendered as 2D projections, these shapes are genuinely 3D, rendered by projecting spatial coordinates onto a two-dimensional plane.
It is capable of generating prisms with polygon bases supporting any number of sides, enabling the creation of diverse polyhedral shapes.
While probably useless, it is a quick and easy way to add 3D elements to a webpage—and due to the low-poly nature of the shapes it gives a unique early days of the web aesthetic that I personally enjoy.
Since this relies purely on the CPU for rendering and standard 2D canvas operations, it should work within virtually any browser—potentially creating niche usecases.