hypercube.projection
>> Support a charity (<- a few are listed here) || Support me on -> patreon | ko-fi
>> The software is provided "as is", without warranty of any kind
This is a Max-patch that demonstrates a 3D projection of a 4D cube (also known as a hypercube or tesseract). The code is based on the excellent tutorials by Daniel Shiffman from the Coding Train channel on Youtube. His tutorial is about programming in processing, my patch is programmed in Max7 with the use of jitter/openGL and javascript. The cube can rotate on the "standerd" 3D-axes, but also in the 4th dimension. All transformations (rotation, scaling) are done with matrices in javascript. The projection to 3D and 2D is also done with projection matrices. The patch uses audio (phasors) to drive the rotation speed of the cube to ensure a smooth and robust rotation, decoupled from frame-rate.
Watch a demo on vimeo:
Watch the tutorial of Daniel Shiffman on youtube:
https://www.youtube.com/watch?v=XE3YDVdQSPo&t=1s&frags=pl%2Cwn
If you have any questions, comments, bug-reports or suggestions. Please e-mail me via info@timohoogland.com
includes