Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.19 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.19 KB

rsdf logo

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.


Status

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:

raster-SDF example


Future work

  • implement additional primitives
    • elliptic & circular arcs
    • b-splines
  • implement front-end asset processors (svg, fonts)
  • try to parallelise the core with rustgpu