Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Drawing Lines is Hard (2015). Parent comment
Sure—it's trivial. Draw some bounding geometry and calculate the Euclidean distance to the line in your fragment shader. Shade accordingly.
The trick is finding that minimal bounding geometry.
There are no comments on this comment yet.
Sure—it's trivial. Draw some bounding geometry and calculate the Euclidean distance to the line in your fragment shader. Shade accordingly.
The trick is finding that minimal bounding geometry.