signed distance fields are friggin rad
-
-
Replying to @pcwalton
How else would you smoothly draw gecko’s piecewise wavy line with aa? https://github.com/servo/webrender/pull/1923 …
2 replies 0 retweets 0 likes -
Replying to @Gankra_
Clip y=sin(x) to pixel boundaries in a fragment shader, use Green’s Theorem to calculate pixel square coverage.
2 replies 0 retweets 0 likes
Here’s the code to do it https://github.com/pcwalton/pathfinder/blob/master/shaders/gles2/common.inc.glsl#L210 …
9:45 AM - 27 Oct 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.