Trying to figure algorithm to draw and paint polygons
#9
(08-15-2023, 12:22 AM)grymmjack Wrote:
(08-14-2023, 02:55 AM)CharlieJV Wrote: Refactor step 1:

Code: (Select All)
PSET (50,25) : AreaStartX = POINT(0) : AreaStartY = POINT(1)
LeftMostX = POINT(0) : LeftMostY = POINT(1) : LeftMostXBud2 = -1 : LeftMostYBud2 = -1
LastX = POINT(0): LastY = POINT(1)...
Nice refactoring! Looking good.

Hey, thanks!

Too pooped today, maybe tomorrow: got to test this out with all kinds of polygons and see how robust this is.  Gotta find me some funky polygons and also test varying starting points for coordinates.

Strictly going by logic, I'm thinking math brains would run circles around this kid.

Meh: Slow and steady, iterative and incremental.  Find the patterns.  My kind of "brain-age" game.
Reply


Messages In This Thread
RE: Trying to figure algorithm to draw and paint polygons - by CharlieJV - 08-15-2023, 12:42 AM



Users browsing this thread: 6 Guest(s)