News for hackers. Stuff that matters.
Re:Show HN: forma: An efficient vector-graphics renderer by tayistay on Friday December 16, 2022 @04:01PM (#34020314)
> Line segments are transformed into pixel segments by intersecting them with the pixel grid. We developed a simple method that performs this computation in O(1) and which is run in parallel.

What's a pixel segment exactly? Just a list of pixel coordinates that intersect?

Re:Show HN: forma: An efficient vector-graphics renderer by 323 on Friday December 16, 2022 @04:32PM (#34020748)
I don't know for sure, but I suspect a list of consecutive horizontal pixels (no diagonal).
Re:Show HN: forma: An efficient vector-graphics renderer by dragostis on Friday December 16, 2022 @05:44PM (#34021638)
A pixel segment is a line segment that fits inside of a pixel's square box. It can start and end anywhere inside of this 1x1 square box and it has a 64bit compact representation.
Re:Show HN: forma: An efficient vector-graphics renderer by tayistay on Friday December 16, 2022 @11:09PM (#34024539)
Ok, and when you sort these pixel-contained segments, what's the ordering?
Re:Show HN: forma: An efficient vector-graphics renderer by yangvz on Friday December 23, 2022 @10:47PM (#34113745)
I believe this refers to the z-ordering of pixel segments from different paths in the same pixel.