Monday, July 11, 2022

Today's prompt is 'cooler'.


I had this idea of making a grid of points at random distances making up quads which subdivide into triangle pairs, collapsing into singleton triangles or splitting into triangle fans. We start with one line of points, then drop down and run the next line of points, making quads, subdividing, collapsing or expanding the triangles, then take that row of points and dropping down to make the next row of points and triangles, continuing while some variable, like area or count, is not fulfilled.
(Alright, now to write some code! Get something up and go back to bed...)
I got a string of points and quads coded up with for loops, except that I don't want to do it that way, but use a while loop, while less than some target area.

No comments:

Post a Comment