Extension FontKit
Ops.Extension.FontKit.Variable font rendering to cables.gl using fontkit.js
This pipeline brings variable font rendering to cables.gl using fontkit.js, a JavaScript font parsing library. It extracts glyph outlines as SVG paths, enabling per-glyph animation of variable font axes (weight, width, optical size…), geometric transforms (rotation, scale, position), and multiline text layout — all feeding into a custom triangulation op for real-time WebGL rendering. The pipeline is designed around a chainable architecture: each op takes Glyph Paths + Glyph Positions arrays as input and outputs the same format, allowing arbitrary stacking of effects before final recombination.
Maintained by Team FontKit