Font Dimensions
A tool to visualize dimensions of a variable font. Click for online demo.
Tested to work for variable fonts with less than 8 axes in the latest Chrome and Safari browsers.
Usage:
- Load a variable font file in the top left corner
- Use the
Dimensions
slider to control how many dimensions to show Values
sliders change the values for axesScales
sliders change the lengths of the axes- Drag the screen to rotate the visualization in 3d
- Click to edit the sample text, the default is “Afg”
Resources:
- Elm programming language
- opentype.js to parse font files
- opensolid is used for geometry
- Voto Serif GX font is included for the demo purpose
Aknowledgements
- Lucas de Groot for the original idea
- Ian Mackenzie for opensolid/geometry library
Running the demo locally
- Compile with
elm make Main.elm --output assets/elm.js
- Start a server, e.g.
python -m SimpleHTTPServer
- Open in the browser.