p5.pave2riso

Plates

p5.pave2riso can render text as vector paths using OpenType.js for font loading and the ot2pave() utility for path conversion.

Workflow:

  1. Load a font using OpenType.js
  2. Get path commands with font.getPath(text, x, y, fontSize)
  3. Convert to Pave path with ot2pave(commands)
  4. Render with p2r() like any other path

This approach gives you full control over typography - apply fills, strokes, effects, and path operations to text.

Source Code