# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# 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

| fatpath-0.5.py (8KB) Last updated for NodeBox 1.0rc7.

## Contact

frederik (at) pandora (dot) be