A private archive for tests done to explore higher-order interpolation / non-linear interpolation
Repo arrowtype/HOI-test, read from GitHub 15 h ago. arrowtype has not joined Take My Repo.
arrowtype/HOI-test is a public repo on GitHub by arrowtype. A private archive for tests done to explore higher-order interpolation / non-linear interpolation. It declares the MIT license on GitHub. It is written mainly in CSS, has 6 stars and last changed on 2025-10-18. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-22.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Editorial note, June 2025: This article was originally written and shared in November 2020. At the request of Underware, I made this full repo private and re-released a simplified version, while Underware worked to further their commercialization of the idea of HOI. It’s been about 4.5 years since then, and Underware has made great strides, both in their technical execution of the technology and (seemingly) in their commercialization of it, as exemplified by their collaboration with Microsoft on Kermit, the font. So, it seems like a good time to re-publish this exploration and attempted explanation of the math that underpins the amazing visual feats.
A simple web demo of this test font ↗
In April 2018, Underware Type stunned the TypoLabs Berlin audience by announcing their new concept of Higher-Order Interpolation (HOI). They explained this in a must-read article, complete with helpful diagrams & animations to show the discovery. In fact, they probably describe it better there than I have here, so you might consider saving time and going straight to the original. But, if you’re still confused, this article (and trying it for yourself) might help explain it further!
Recently, @blackfoundry has recently shared some excellent examples of Non-Linear Interpolation (NLI) on Twitter. In fact, I think they may have coined the term NLI in terms of type design. A discussion of this prompted me to explore it further on my own. I never felt like I could quite understand the concept of NLI at a gut level – partly because I can get quickly confused by math, and partly because I just never took the time to do it myself.
Sidenote: I am mostly using the term NLI in this article – to me, NLI is a bit more of a focused, self-explanatory term for the mathematical/typographci theory I am covering here, while HOI in my mind encompasses UnderWare’s wider processes for making use of it. I say more about this below.
So, this weekend, I finally sat down to figure out a simple, working test. Having figured out how to reproduce the basics of NLI, I wanted to share the sources of this exploration, in hopes that it may help others to better understand this exploratory area of type design.
This repo includes UFO sources plus a designspace which sets up a few simple non-linear interpolation tests:

A later addition has added tests with Cubic NLI to show how Cubic interpolation is possible, but somewhat harder to achieve, and an example using standard (linear) interpolation to show its limitations.
Later edit (Sep 2023): BlackFoundry also shared this script for generating the unintuitive "offcurve" source from an intuitive "target" source and two poles. I don’t think I had previously linked to it in this article, but it would be a useful part of making a proper design workflow for HOI/NLI.
Variable fonts use interpolation to create intermediate results from two or more sources. RoboFont defines interpolation in a helpful way:
At its most basic level, interpolation is finding a number between two other numbers.
The basic interpolation formula is: start with one value (a), than add a fraction (factor) of the difference with another value (b).
a + factor * (b - a)
Linear interpolation is by far the most common technique used to create variable type. To make a basic linear interpolation, you must draw two shapes (e.g. a thin A and a bold A) which have the same number of points. Then, you can easily generate shapes that are some 25% or 50% or 63.45% between these by simply moving each point to that percentage distance between its position in the light & bold drawings.
Linear interpolation is used to create basic all the fonts you know and love, and people do incredible things with it. In large part, this is because variable fonts allow multiple linear interpolations to be done at the same time, allowing a very wide designspace of possibilities.
Linear interpolation does has some limitations, though. Chiefly, it is linear – that is, the way points move between states is always in a straight line (if only one variable axis is changed). This means that, for instance, rotation of shapes is not possible in a linear interpolation.
If you try to rotate a rectangle with just two sources or create a C that opens and closes, the results show the limitations. The rectangle does a weird inversion rather than a rotation, and the C doesn’t change in the “circular” way you’d expect.

A limitation of most interpolation for variable fonts is that it is only linear – points only move between sources in straight lines (more ont this below).
Of course, often as a type designer, what you really want to do is to control the curved paths that points would travel between different states. Put more simply, we want smooth & elaborate animations, but often end up working with much more subtle transformations because doing much more isn’t easy.
Underware Type has been exploring this area of interpolation theory in-depth for years, under a theory they have called HOI: Higher-Order Interpolation and later Grammatography. If you haven’t seen their talks on it yet, seriously, what they do is incredible and something you need to see.
Honestly, if you haven’t already seen Underware demo HOI, it would be very surprising that you are reading this right now. They have done a much better job of showing why it is an exciting possibility! And really, as explained below, achieving NLI is difficult, so whatever HOI is is as much about the tools, processes, and methods they have created internally to make this work at scale.
By contrast, this repo is just a quick way to test one small aspect of NLI: how can a fairly-average person, with widely-available tools, draw type that has curved interpolation paths?
If you draw type or use the pen tool in graphic software like Adobe Illustrator, you are already familiar with cubic curves. Here is a cubic curve as respresented in RoboFont:

A cubic bezier is drawn with:
Cubic NLI, then, takes this concept and applies it to interoplation
The eight corners of the designspace make a cube with the four sources: A is the start, B is the end, and C & D are the offcurves. XYZ are the axes.
A: X=0 Y=0 Z=0
C: X=100 Y=0 Z=0
C: X=0 Y=100 Z=0
C: X=0 Y=0 Z=100
D: X=100 Y=100 Z=0
D: X=0 Y=100 Z=100
D: X=100 Y=0 Z=100
B: X=100 Y=100 Z=100
This cube, then, looks something like this:
D – – – – – – – B
/ | / |
/ | / |
/ | / |
/ | / |
C – – – – – – – C |
| | | |
| D – – | – – – – D
↑ | ↗ / | /
z | y / | /
| / | /
| / | /
A – – – – – – – C
x →
When you move axes X, Y, & Z, the points can move in a smooth, cubic-curved interplation.
Make sense? If not, don’t worry – I had to see this explained a bunch of times to finally start to grock it. (There is still a lot about this that I don’t entirely understand, either.)
If it does make some sense, you will then realize that the hard part is knowing how to draw those offcurve positions, because those shapes tend to look weird and are unintuitive.
One thing that can partially simplify that: instead of drawing cubic designspaces, you can instead draw quadratic designspaces – using just one "offcurve" source and only two axes. This simplifies the process somewhat.
Quadratic curves are somewhat simpler, and this allows quadratic NLI to be somewhat simpler, too.
Here is a comparison from the amazing Primer on Bézier Curves by Pomax (see this for a deep-dive on different types of Bézier curves as well as the math behind them):

So, we can use that same principle to create the middle drawing of an NLI designspace. And then critically, because of the way Bézier curves & interpolation work, you need to make two axes:
A: X=0 Y=0
C: X=100 Y=0
C: X=0 Y=100
B: X=100 Y=100
This square, then, looks something like this:
C – – – – – – – – B
| |
| |
↑ | |
y | |
| |
| |
A – – – – – – – – C
x →
Simplifying NLI by using a quadratic approach makes it reasonably approachable, so long as you have software like RoboFont Skateboard or Variable Font Preview to preview the intermediate states of a designspace (you could also write your own extension or software to do so).
Alternative to step 7: use one of these scripts shared by Jeremie Hornus (of BlackFoundry) to generate the offcurves necessary to hit a target middle drawing.
A workflow for Cubic NLI can be roughly similar to the quadratic workflow, but can involve drawing intended interpolation curves on a background layer, then matching this in the intermediate sources.
Cubic curves can create a much wider range of shapes than quadratic curves – see the Pomax guide’s Circles and quadratic Bézier curves and Circles and cubic Bézier curves for demoes & explanations of this.
Because quadratic curves are somewhat limited, that means that Quadratic NLI offers much more control than Linear interpolation, but not as much control as Cubic (or greater) NLI. But, it has the benefit of being simpler to create than Cubic NLI.
Specific limitations found in these quadratic NLI tests:
C look good all the way through the interpolation? It probably depends on how particular you are about it. Certainly, it’s a much better transformation than linear interpolation would allow, but not perfect.These can be made better in Cubic interpolations, but as you can see, Cubic interpolations are somewhat more difficult to draw. And if you layered on additional axes (like Weight), this would all get even more complex. So, for some projects, quadratic NLI might be just the right balance of interpolation control with an accessible workflow.
I’ve posted about this on Twitter. If you have a question or comment, feel free to join in on the discussion!
The examples here only cover quadratic & cubic NLI. Or, as UnderWare would call it, just the first two “orders” of interpolation. If you wish to make a point curve in more complex ways (e.g. to make a full rotatation or a compound/S-shaped curve), there are basically two options:
rvrn or rclt substitutions), e.g. to swap from C.part1 to C.part2 and so on. The advantage here is that it easier to draw plans for in existing tools, and easier to mentally consider.Clearly, UnderWare has already shown that they can make fonts using curved interpolation for such purposes of making fonts that can better reproduce handwriting for striking visual effects. BlackFoundry is using the concept to make more-flexible components.
It’s hard to say for sure whether NLI will be a technique adopted by the mainstream of type designers. There are hurdles: as complicated as it is to produce even a quadratic NLI, it would likely require at twice as many drawings to produce a typical Weight axis on top of this. For me, this is hard to imagine – but maybe I just have to try it before knowing.
In the long run, it seems likely or inevitable that NLI will be used by more designers, but it will require new tools to make the technique accessible & efficient. Here’s hoping to a Non-Linear future!
arrowtype/HOI-test is a public repo on GitHub by arrowtype. A private archive for tests done to explore higher-order interpolation / non-linear interpolation.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2025-10-18. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Recursive Mono & Sans is a variable font family for code & UI

Shantell Sans, from Shantell Martin, is a marker-style font built for creative expression, typographic play, and animation.

Test your fonts across the web by easily overriding fonts on any webpage.
Customize your own version of Recursive for code. Build your own, or find the built fonts in releases within the main Recursive repo.