Tiny image-based SDFs
- Dominant language
- HTML
- Stars
- 673
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
We should extend the functionality here slightly to support generating symbol SDFs (with either a rendered canvas, `ImageData` object or a PNG as input, tbd). I'm working on implementing this in a way that preserves the existing API but reuses basically [all of this](https://github.com/mapbox/tiny-sdf/blob/aad98d1d83437e9f660ce945e3047d45301f043b/index.js#L40-L104) and keeps this lean.
Contributor guide
Research direction
Start by reading the referenced index.js implementation, especially lines 40-104, to understand the existing SDF generation flow and API. The issue proposes accepting a rendered canvas, ImageData object, or PNG, but leaves that choice unresolved. Done means supporting symbol SDF generation while preserving the existing API and keeping the implementation lean.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100