Sep 8, 2024
While I recently made text2.love easy to embed in other LÖVE projects and documented its API, the true interface of this thing doesn't lie in how you wire it up its bog-standard handlers. No, it's what you do in a workhorse internal method called I.get_rect which gets called on every frame and for every input event.

Here's a very silly example of the sort of app that is now easier to create: 
Screenshot of the following text in an editor window -- except the fractions and nested fractions are shown vertically, with numberator and denominator separated by a horizontal line:

# Simplifying fractions

Suppose we have a fraction:

2/6

The GCD of 2 and 6 is 2.

Dividing both numerator and denominator by 2, we get:

(2/2) / (6/2) = 1/3

Repo
Compare with text2.love

This post is part of my Freewheeling Apps Devlog.

Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.

archive
projects
writings
videos
subscribe
Mastodon
RSS (?)
twtxt (?)
Station (?)