basically in the first phase of the project i was trying to come up with an algorithm that could output a traversal path given an image for this i used Moore's algorithm , so now in the second phase i am trying to color the contour , the problem is that i couldnt able to decide between what stroke ( horizontal , vertical , diag ) to use and could not able coming up with an overall algorithm that does all this for any given diagram
That's simplest what I was looking for is a kindoff algorithm that uses diagonal , vertical and horizontal lines were ever possible to do it better more like a 3d printerÂ
1
u/Aryan_Chougule Aug 03 '26
logic based system can be a great fit.. I want to understand the problem statement better, can you give some more details ??
1
u/[deleted] Aug 03 '26
Raster: you can hatch, line by line to fill an area if you implement line/curve intersections.