#Which Zig GUI library should I use?

1 messages · Page 1 of 1 (latest)

wheat crystal
#

Hi! I want to make a program that allows you to render and explore fractals, which I'd do using bindings for AMD HIP/ROCM. However, I want to display these fractals within a UI in which you can alter the equation being displayed and make certain changes to the display, your typical toolbar / sidebar style approach (maybe in the gtk style?). What would be the best toolkit to use? I'm very new to all of this but ideally I want to be able to render the fractals on the HIP end and forward that info to the graphics lib.

cinder cypress
#

There are plenty of graphics libs/options around. What's harder to find is GUI.

wheat crystal
#

what gui lib should i use

#

Which Zig GUI library should I use?

final rivet
#

have you considered DVUI (#dvui)? it supports multiple backends, and you are free to render your own stuff with those backends

#

afaik, you just need to tell dvui where you will be rendering within a GUI element, and then you can do it

copper topaz
#

I am saving this one

wheat crystal
#

i suppose there is glfw

#

hm, could i somehow use glfw to pull the image from the gpu

cinder cypress
#

Yes, AFAIK DVUI provides low-level access for integrating graphics.

final rivet
#

there are examples for drawing textures in content regions

wheat crystal
wheat crystal
marsh veldt
wheat crystal
wheat crystal
#

sdl3gpu is likely what i am going to use

#

i might have to ditch the idea of using HIP