This is my N dimensional Cube / Square thing I have been working on.
I have already done a cube and sphere environment with raytracing but I was wondering If anyone has done some N Dimensional raycastings as that would be a cool project but my head is on fire due to the maths involved
Change Dimensions counter at top of code for different dimensions.
A suggestion - it seems that the rotation is repeating and not showing all the mind-bending possible variations. Can you try using separate rotation speeds for the various axes so that they rotate more independently?