it may be hard on your eyes. the mouse moves the shapes. 1=cube 2=pyramid 3=double pyramid or 8 sided die
i stole the math from @skyrax so please go check out their project feel free to use this to make your own shapes each shape is 100 pixels tall and altering the math results in some very weird and fun rendering