ANTLII
CONTACT
SAMPLINFO
  1. Overview

SAMPL Tool

SAMPL is a web-based generative typography tool that lets you reshape text using geometry and motion. When you type a letter, word, or text, each glyph is converted into a vector outline. Points are then sampled along this outline and used as anchors for geometric shapes that can be customized and animated, controlling their amount, size, rotation, color, and movement.

The tool allows experimenting with a wide range of visual materials — from simple geometric primitives to gradients and image-based fills. Users can adjust colors, transformations, motion, and deformation, turning type into a flexible visual system rather than a fixed design.

A powerful animation engine provides control over position, scale, and rotation, allowing motion to be both rhythmic and expressive. Users can choose a font from Google's vast library or seamlessly import any custom fonts on the canvas through drag-and-drop functionality.

As always, the tool offers ready-to-use presets for quick starts. Designers can save and load their custom presets in JSON format, making it easy to revisit and continue their creative projects.

The tool provides flexible export options, and its main advantage is the ability to export graphics in scalable SVG format, perfect for print and further editing. Animations can be exported as MP4 video files or as image sequences in ZIP archives for later assembly into a video using a tool like FFmpeg.

Performance and compatibility

Some technical tips regarding the use of the tool:

  • Fonts: The program supports fonts in OTF, TTF, WOFF formats. But some fonts may not be read properly resulting in an error. Also, in some cases, font features such as kerning or ligatures may not be properly handled.

  • Video Export: MP4 export requires a browser and device with a compatible WebCodecs AVC encoder. Availability can vary with the selected resolution and frame rate. High-resolution or long videos may also run out of memory. If export fails, try reducing the resolution or length, or export a PNG sequence and convert it to video separately.

  • WebP Export: WebP requires native browser support. If it is unavailable, use PNG instead.

  • Transparency: PNG and WebP preserve transparency. JPG and MP4 render transparent areas in black. A custom background is included in the exported file.

  • SVG Export: A valid license is required for SVG export. Complex artwork can take time to export. Image textures are replaced with a solid fill.

  • Mobile Support: The program is not designed to run on mobile devices.

Please let me know if you're running into any issues or discover a bug while using the program.

Credits

I would like to acknowledge the use of several third-party libraries and materials within this project and express my sincere gratitude to their creators for making these resources available:

  • The p5.js ↗ Creative Coding Library, a product of the collective efforts of an incredible team;
  • The Tweakpane ↗ interface library, ingeniously developed by Hiroki Kokubun;
  • The Opentype.js ↗ library that lets you bake cookies out of font files;
  • The Paper.js ↗ project allowing to make magic with SVG format;
  • The super quick Simplex Noise ↗ algorithm developed by Jonas Wagner;
  • The Mediabunny ↗ library, used by CanvasExport to encode MP4 video;
  • fflate ↗ by Arjun Barrett for bundling exported frames into ZIP archives.
  • The sick Pilowlava ↗ font by Velvetyne studio
  • The unique Misto ↗ font by Kateryna Korolevtseva

Technical details

Version
0.38
Exports
PNG / JPG / WebP · SVG · MP4 · PNG / JPG / WebP sequence
Presets
JSON
Built with
p5.js · Paper.js