Hi All,
I would like to do the sacn line algorithm in Processing. I have read a lot about it but I have no clue how to start it. Do you have any example or something what helps to start to implement it?
Thanks a lot in advance!
Hi All,
I would like to do the sacn line algorithm in Processing. I have read a lot about it but I have no clue how to start it. Do you have any example or something what helps to start to implement it?
Thanks a lot in advance!
See Wikipedia article on scanline please
Ok, I’ve seen it and I understand how this should work.
What I dont know, how can I store the coordinates of the points where the scan-line goes through the polygon.
show your code please
Here are links to several past implementations of scanline / floodfill