News for hackers. Stuff that matters.
Re:What I learned designing a barebones UI engine by spiffyk on Monday February 23, 2026 @06:13AM (#47120780)
I actually use a very similar paradigm successfully in a game [1] whose (immediate-mode) UI is fully responsive. I allow more operations than just cutting to do that, but the basic idea seems to be the same. The code may look like a bit of a mess at a first glance [2], but I still find it easier to work with and make it do what I actually want with some very basic vector maths, than with the layout-container rules of most UI frameworks.

[1]: https://fruitsandtails.fghj.cz/

[2]: https://codeberg.org/spiffyk/FruitsAndTails/src/branch/main/...

There are no comments on this comment yet.