Tuesday, January 26, 2021

Square grid to octahedron to spherical polyhedron

26 Jan Square 2 Sphere

The page generates a square grid which we will turn into an octasphere. The animation loops through the points to draw quads, then clears and starts over again. The next step is to subdivide each quad into a pair of triangles based on the 'New York Street Distance' of each vertex from the center of the grid. Each of the two triangles has either the nearest or farthest vertex for each of the quads.

No comments:

Post a Comment