A text editor that supports doodling.
Some previous ways to have text coexist with a canvas:
•
A fixed background that is disconnected from text.
•
Fixed page boundaries.
Here I'm instead attaching doodles to a
pivot character that they move with in the presence of edits. When you start drawing you're presented with a set of pivot options, one grey square per character on screen. After you pick one, it turns pink and the other options disappear. Now you can start drawing.
Displacements to the pivot are preserved in font-derived units, so it looks "reasonable" as you resize the font.
Deleting a character deletes all drawings pivoted on it. (But there's undo.)
This took 200 lines, so not too much though it was more than I'd initially expected.
Inspired by
this thread.