Out with the old in with the new.
Its amazing what you can do when you are willing to toss out what you have been working on. Dumping 2k lines of spagattie code that was impossible to debug without introducing more bugs and replacing it with 100 lines of good code and a couple helper classes is having an amazing effect. I should have done this like 2 months ago as soon as I had the algorithm finalized. I was using a unique point based approach that looked like it would work at the beginning but didn’t. The correct approach is to look at things by edges and to connect the edges using pointers to a common endpoint. At current rate of progress I should have the entire thing up and running by monday no problem sure will be nice to get ahead of a deadline for change. This will also mean I can demo for that video submission thing with my new code base and be ready to make the jump to 3D over christmas. I am thinking i will want to use planes in lue of edges for that. The big change was switching out the maze of special case statements and designing a smart class that can just grow in the direction it needs to. Extending the base drawing classes to use floats instead of ints is also helping even if it involved a bit more coding.