Reference HLSL shaders for the Slug algorithm, which renders vector fonts entirely on the GPU by encoding glyphs as quadratic Bézier curves and computing coverage per-fragment. No texture atlases, scales infinitely, works with TrueType and OpenType. You get the core fragment shader logic for winding number calculation, a band optimization to reduce per-pixel curve iteration, and helpers for Bézier and line segment evaluation. This is a reference implementation from the original paper, so you'll need to wire up your own CPU-side glyph preprocessing and buffer management. MIT licensed, patent is public domain. Good fit if you're building a rendering engine or want high-quality text without atlas hassles.
npx -y skills add aradotso/trending-skills --skill slug-font-rendering --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
juliusbrussee/caveman
mattpocock/skills
shadcn/improve
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills