humbleui 2022-10-30

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

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

what does this line do?

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

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

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

👏 1
🎉 3