Slap is a Lean Applicative Painter:
The tool is best when it doesn’t interrupt you but rather helps you get in the flow.
- Slap is GPU accelerated
- It integrates natively with macOS (other platforms later hopefully)
- Yet it is designed not to be locked-in
- It has a thin layer of Objective-C/AppKit I deliberately kept as Objective-C.
- It is all driven by the Zig Build System.
- It has 0 dependency.
- It has DOD, upfront allocation, pop corn… you name it
What did I learn? Let’s say when I started I was trying to figure out how to open an empty window…
The part you may be mostly interested in, technically, has been treating the painting history as a log rather than just maintaining a snapshot stack to undo brush strokes. It opens original possibilities.
A .slap file is essentially a log of painting actions, which makes the entire document replay-able. This gives me guaranteed undo all the way back to the beginning.
Supported Zig versions
I exclusively used Zig 0.16.0
AI / LLM usage disclosure
I use free chat as a contemporary google search for certain things.