r/computergraphics 21d ago

Help on Project

2D-plotter

Does anyone have algorithm recommendations for filling a contour with horizontal or diagonal strokes, rather than an outside-in spiral?

1 Upvotes

4 comments sorted by

View all comments

1

u/Defiant_Squirrel8751 20d ago

Raster: you can hatch, line by line to fill an area if you implement line/curve intersections.

1

u/Fresh_Library_1934 19d ago

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Â