stackotter @stackotter.dev · Dec 10

I chucked together a simple image editor with SwiftCrossUI a few days ago (as an example app). There's something very satisfying about a realtime image editor made in 160 lines of readable, maintainable code. The cat jumping at a butterfly is courtesy of my recent trip to Chile 😺

0 likes 1 replies

?

Replies

stackotter · Dec 10

60 lines of code (out of the 160 total) are the custom colour transformation matrix implementation. 20 lines are debouncing state updates. 24 lines are the UI. And the rest is structs, state, and various other things.