A pentachoron is a four-dimensional regular polychoron consisting of 5 tetrahedra "folded" together, just like how taking a net of four equilateral triangles results in one tetrahedron. Controls: r determines the distance of all points from the origin. MODE determines a method to show the pentachoron: wireframe, filled, and partially filled. up/down arrow keys-rotating y and z axes left/right arrow keys-rotating x and z axes z/x-rotating x and y axes a/d-rotating x and w axes w/s-rotating y and w axes q/e-rotating z and w axes
https://en.wikipedia.org/wiki/5-cell All of the math is computed by me.