I’ve been looking at the dynamic typeface Laika recently, wondering if I could reappropriate its ideas for my own typeface — Fraction Mono. Interpolation can be done fairly easily in Glyphs, but I’d like to do it outside of font software, ideally realtime. Perhaps it could become a responsive display typeface, stretching and compressing depending on the device.
First, I made sure the different heights were compatible by interpolating them in Glyphs.
Then using opentype.js I went through each point in the path, then interpolating it with the corresponding x/y values on the other heights.
Drag the slider to modulate the amount of interpolation.