Compute and display the intersection of a rotating cube and a plane, in vanilla Javascript.
Created for a High School math challenge.
Each prime number N is represented by a dot at distance N from the origin and with an angle of N radians.
Notice the patterns emerging as we zoom away.