Skip to content
/ rsdf Public

A multi-channel raster-sdf generator

Notifications You must be signed in to change notification settings

ickk/rsdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A multi-channel raster-sdf generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages