{"id":19541434,"url":"https://github.com/ickk/rsdf","last_synced_at":"2025-04-26T17:30:47.795Z","repository":{"id":134717712,"uuid":"443346310","full_name":"ickk/rsdf","owner":"ickk","description":"A multi-channel raster-sdf generator","archived":false,"fork":false,"pushed_at":"2024-01-10T00:12:38.000Z","size":5889,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-04-04T16:12:51.509Z","etag":null,"topics":["graphics"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ickk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-31T12:59:26.000Z","updated_at":"2024-07-03T17:20:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c2c4a4a-6f9d-4a4d-b45f-29aba73d8492","html_url":"https://github.com/ickk/rsdf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickk%2Frsdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickk%2Frsdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickk%2Frsdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickk%2Frsdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickk","download_url":"https://codeload.github.com/ickk/rsdf/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251025578,"owners_count":21524827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graphics"],"created_at":"2024-11-11T03:10:28.666Z","updated_at":"2025-04-26T17:30:47.500Z","avatar_url":"https://github.com/ickk.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" width=\"100%\"\u003e\n  \u003cimg src=\"./rsdf_render.png?raw=true\" alt=\"rsdf logo\"\u003e\n\u003c/p\u003e\n\nA **raster signed distance field** generator\n\n---\n\nThis project is an implementation of the technique outlined in\n[Chlumsky's MSDF thesis][chlumsky-paper], which is an improvement on\n[Valve's technique][valve-paper].\n\n[chlumsky-paper]: https://github.com/Chlumsky/msdfgen/files/3050967/thesis.pdf \"Shape Decomposition for Multi-channel Distance Field\"\n[valve-paper]: https://cdn.akamai.steamstatic.com/apps/valve/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf \"Improved Alpha-Tested Magnification for Vector Textures and Special Effects\"\n\n---\n\n### Status\n\nCurrently the `rsdf_core` crate is capable of decomposing shapes made of\nlines, quadratic/cubic bezier curves, and elliptical arcs,  however there is\nstill work to do to make it into a useful tool.\n\nThe logo above was rendered from the following multichannel SDF image, which\nwas generated using this codebase:\n\n![raster-SDF example](./rsdf.png?raw=true)\n\n---\n\n### Future work\n\n- [ ] implement additional primitives\n  - [x] elliptic \u0026 circular arcs\n  - [ ] b-splines\n- [ ] implement front-end asset processors (svg, fonts)\n- [ ] try to parallelise the core with rustgpu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickk%2Frsdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickk%2Frsdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickk%2Frsdf/lists"}