ameye @ameye.dev · Feb 9

Meanwhile the roads in my OpenStreetMap renderer are just rectangles pieced together! I wonder what the best next improvement is that I could make, these rectangles were the easiest thing I could think of but of course very ugly

8 likes 1 replies

?

Replies

Ef 📐 · Feb 9

The first improvement I’d suggest is generating the road by offsetting the polyline with a miter join which will give you proper corners instead of pieced rectangles. What engine are you using for rendering? In Unity the Shapes library already has this functionality built in