2 ms·
Some historic articles on software rendering (the original Bill Atkinson stuff) https://www.folklore.org/Round_Rects_Are_Everywhere.html https://www.folklore.or
by leecommamichael 2y ago
Some historic articles on software rendering (the original Bill Atkinson stuff)
https://www.folklore.org/Round_Rects_Are_Everywhere.html https://www.folklore.org/Round_Rects_Are_Everywhere.html
http://wg20.criticalcodestudies.com/index.php?p=/discussion/80/code-critique-roundrects-apple-quickdraw-source-code http://wg20.criticalcodestudies.com/index.php?p=/discussion/...
A modern 3D accelerated article (using SDF as another commenter suspected)
https://mortoray.com/quickly-drawing-a-rounded-rectangle-with-a-gl-shader/ https://mortoray.com/quickly-drawing-a-rounded-rectangle-wit...
- rustystump 2y agoI was thinking SDFs and the Bill stuff at time of writing. Read my mind. Have to add work by Evan Wallace here too as he is a legend. https://madebyevan.com/shaders/fast-rounded-rectangle-shadows/ https://madebyevan.com/shaders/fast-rounded-rectangle-shadow... https://madebyevan.com/webgl-path-tracing/ https://madebyevan.com/webgl-path-tracing/