Implementing the Potluck system in LÖVE
https://www.inkandswitch.com/potluck
Research is awesome, but sometimes when you read a paper you just want to add it to your toolbox right now. In a way that fits in with your other tools.
Properties of my tools:
- minimal dependencies (no browser!)
- cross-platform; runs on Windows
- easy for anyone to modify (https://www.inkandswitch.com/end-user-programming)
- live; modify without restarting (https://www.youtube.com/watch?v=8Ab3ArE8W3s)
Done so far: Potluck annotations
A minimalist DOM in 50 LoC
Is there a better name for this than "DOM"? A notation for a tree of rectangles, often containing text, to be rendered to screen and united with mouse events.
Rects contain either text or rows/cols of other rects. Other attributes: fg, bg, margin. Margin is margin-top or margin-left depending on whether the rect contains rows or cols.
No inline styling yet (bold, span, etc.), that feels like a separate concern.
@emenel @khinsen @akavel