humbleui

lilactown 2022-10-30T17:00:15.457729Z

is there like a "minimal starter" code example I could look at? trying to riff off of what's in tonsky's humble-ants & humble-deck and running into issues discerning what is strictly necessary

Niki 2022-10-30T18:29:50.882879Z

https://github.com/tonsky/humble-ants should be a good start

Chris Oakman 2022-10-30T20:51:39.574039Z

I tried to keep these examples as minimal as possible: https://github.com/oakmac/humble-mondrian https://github.com/oakmac/humble-modal-example https://github.com/oakmac/humble-animations

lilactown 2022-10-30T21:44:10.943749Z

thanks, I had looked at most of these and was able to piece together the minimal bits I needed to get a simple app running. I decided to publish what I learned as a starter project with lots of comments: https://github.com/lilactown/humble-starter/

🔥 3
3
🙏🏻 1
🎉 4
lilactown 2022-10-30T17:37:14.949119Z

what does this line do?

(set! (.-_colorSpace ^LayerMetalSkija (.getLayer ^Window @*window)) (ColorSpace/getDisplayP3))

Niki 2022-10-30T18:30:30.796869Z

Sets color space of the surface. This will be done automatically in the future, but for now I hard-coded it for the demo

Niki 2022-10-30T22:11:41.133869Z

I’ve added all the repos I know about that use Humble UI to the Readme https://github.com/HumbleUI/HumbleUI/

👏 1
🎉 3