HTML5, JavaScript 2D to faux 3D spinning box demo.

Here is a simple graphics demo written in JavaScript utilizing the Canvas element in HTML5. It takes a 2D image from a file and renders a faux 3D spinning box with the image as all sides. On occasion a random idea crosses my mind and I proceed to speed write some code just to see it take place, this is one of those. Rarely is the code intended to be read or understood by anyone other than me, so comments, etiquette etc are not to be expected. It should be no issue here as this a quick and simple piece of code.

This was a bit of nostalgic tip of the hat to the days of old and the graphics demo scene. When such image manipulation and graphics tricks required assembly programming and razor edge optimization to run smoothly. As such it is only appropriate to put the Amiga logo to spin front and center as that is where it all really began.

https://hristogueorguiev.com/nonwp/boxspin/2dto3dboxspin.html