Monday, March 29, 2021

Making Triangles

28 March 2021- Triangulation

Animate making triangles from a point cloud. First, generate a point cloud, then make sure the points don't overlap nor are too close. Make the initial triangle by finding three points which are close together, a point picked at random, a second point which is closest to that first point and a third point which is closest to the midpoint of the first two endpoints. A triangle will be defined as three points, three edges and an area, and an edge will be defined as two endpoints and a midpoint. So I find two points, make an edge, find a third point and make a triangle and two more edges... and I'm writing a novel here! 8-P

No comments:

Post a Comment