1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Fatpath

Description

Fatpath does mathematics on path points. In essence, it adds text paths together. The formula is as follows:

p1 + (p2 - p1) * fatness

This function results in text forms that can vary between light and bold (like a multiple-master font), but that can also go over the edges, and calculate extreme bold or extreme light fonts.

Screenshot

The bottom text path is calculated from the two top paths

Restrictions

Fatpath is rather dumb: paths have to match exactly, point-for-point, or the algorithm doesn't work. This means (in general) that you can only use fonts of the same family, and even then, there is no guarantee that letters match. Letters with curves are especially troublesome. A special button, lettersthatwork, shows which letters you can use for the given fonts.

Download

download

fatpath-0.5.py (8KB)
Last updated for NodeBox 1.0rc7.
Author: Frederik De Bleser

Contact

frederik (at) pandora (dot) be