A raster signed distance field generator
This project is an implementation of the technique outlined in Chlumsky's MSDF thesis, which is an improvement on Valve's technique.
Currently the rsdf_core
crate is capable of decomposing shapes made of
lines, quadratic/cubic bezier curves, and elliptical arcs, however there is
still work to do to make it into a useful tool.
The logo above was rendered from the following multichannel SDF image, which was generated using this codebase:
- implement additional primitives
- elliptic & circular arcs
- b-splines
- implement front-end asset processors (svg, fonts)
- try to parallelise the core with rustgpu