EricLengyel/Slug
Reference code for the Slug Algorithm. observed · 2026-08-28
Health v2 · maintenance only
49/100
- Activity 77
- Release rhythm 35
- Longevity 12
Flags: no_releases young no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 173
- days_rel: n/a
- days_push: 140
- n_releases_24m: 0
Adoption not part of the score
1506 stars · 73 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Reference shader implementations of the Slug algorithm for rendering vector fonts directly on the GPU using quadratic Bézier curve evaluation. The code is written in HLSL and accompanies a 2017 JCGT paper, with the associated patent dedicated to the public domain.
Use cases
- render text with GPU-accelerated font rasterization
- draw anti-aliased vector glyphs in a game engine
- implement high-quality font rendering in a custom graphics pipeline
- render scalable vector graphics on the GPU
- avoid CPU-based glyph atlas rasterization
- study GPU font rendering algorithms
When to choose
- you need high-quality, resolution-independent text rendering on the GPU
- you are building a custom rendering engine and want to avoid SDF or CPU rasterization artifacts
- you want a public-domain font rendering algorithm without patent risk
When to avoid
- you need a drop-in text rendering solution with font hinting support
- your target platform lacks programmable GPU shader support
- you need a complete font library with layout, shaping, and fallback handling
Facets
library · maturity stable
graphics image-processing graphics web-design cross-platform font-rendering vector-graphics shaders hlsl glyph-rasterization bezier-curves game-development gpu
1 source
- readme: https://github.com/EricLengyel/Slug · fetched 2026-08-28 · 830c2491a8b7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| EricLengyel/Slug | main | 49 |
For agents
markdown · JSON · MCP: product_card(name="EricLengyel/Slug")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem