Open luisegarduno opened 1 year ago
Coordinates for circles in each dimension will be found using the equation of a circle (x − h)2 + (y − k)2 = r2 and extending this to other dimensions. The centroids will be at (0,0,0,0) and the radii will be 1, the same as the side length of other shapes. The equation of a circle per dimension will be
(a1 − c1)2 + (a2 − c2)2 + … + (ad − cd)2
where:
Coordinates for squares in all dimensions can be found by extruding the square of the previous dimension by the side length in the direction of the new dimension. You can represent these coordinates with binary counting. Each bit corresponds to an axis so a bit is added for each dimension. 0000 = xyzw = (0,0,0,0)
(0,0,0,0) (1,0,0,0)
(0,0,0,0) (0,1,0,0) (1,0,0,0) (1,1,0,0)
(0,0,0,0) (0,0,1,0) (0,1,0,0) (0,1,1,0) (1,0,0,0) (1,0,1,0) (1,1,0,0) (1,1,1,0)
(0,0,0,0) (0,0,0,1) (0,0,1,0) (0,0,1,1) (0,1,0,0) (0,1,0,1) (0,1,1,0) (0,1,1,1) (1,0,0,0) (1,0,0,1) (1,0,1,0) (1,0,1,1) (1,1,0,0) (1,1,0,1) (1,1,1,0) (1,1,1,1)
I still need to find a simple way to scale dimensions, It is close but not yet complete. The next comment will have the dimensional pattern. For now I will note that with each dimension of a triangle, including the 0th dimension, a new vertex is added. For example a four dimensional triangle has 5 vertices.
Reference - see Google Doc