Black triangles for the umpteenth time.
I reimplemented my little box model atop a foundation of an infinite 2D surface that can be panned and zoomed.
Top-level
Black triangles for the umpteenth time. I reimplemented my little box model atop a foundation of an infinite 2D surface that can be panned and zoomed. 9 comments
I've been live-coding my Lua-based markup language luaML using a driver program. Now I've pulled luaML into the driver program so that I can open multiple buffers, move them around, zoom in, zoom out, etc. (And yes, you can live-program the driver. Not quite using itself, but by copying it into a "meta driver" and making a handful of edits.) Compare v1 of the driver: https://merveilles.town/@akkartik/109182295383555872; v2: https://merveilles.town/@akkartik/109420170803345855 Inspired by @ltratt's https://tratt.net/laurie/blog/2023/compiled_and_interpreted_languages_two_ways_of_saying_tomato.html, I spent some time kicking the wheels on my code map based programming environment by building a BF interpreter. Next up: reproducing in Lua Laurence's results regarding the compiler-interpreter spectrum. Here's the "load screen" for my environment, showing a visual overview of the code I've written. A little app for drawing graphs https://git.sr.ht/~akkartik/snap.love I've wanted something like this for a long time. Intended for small graphs where laying things out by hand is not too painful, and it's nice that things don't move around every time I make a change, as happens with graphviz (https://graphviz.org). The file format is also amenable to git; no long lines, and adding new nodes or edges doesn't reorder unrelated nodes and edges. |
luaML on an infinite surface
You can draw various graphics and edit text in arbitrary grid layouts, all on a pannable, zoomable infinite surface.
https://codeberg.org/akkartik/luaML.love
@nff The Readme still warns that commit hashes may change, but I'm hoping this one's for good. I finally understand how to cleanly update the viewport based on edits within a pane; that was the major mountain to climb here.