glfw
go-wlroots
Our great sponsors
glfw | go-wlroots | |
---|---|---|
3 | 1 | |
1,497 | 112 | |
1.2% | 0.0% | |
6.7 | 5.5 | |
14 days ago | 3 days ago | |
C | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
glfw
-
Understand how to use C libraries in Go, with CGO
And this is how https://github.com/go-gst/go-gst, https://github.com/go-gl/glfw, and even https://fyne.io/ are using system libraries to propose a lot of functionalities.
-
3D graphics library
I'm looking for something that's relatively low-level (not a game engine) but preferably abstracts some of the boilerplate away and is cross-platform. Something like go-bgfx would have been perfect for me, but it has been long abandoned. The only real remaining option appears to be the glfw-bindings go-gl/glfw. Otherwise, I could make use of cgo to wrap some c/c++ code myself. I'm somewhat hesitant to go with glfw, because openGL isn't supported on all platforms (but realistically, I'm not going to publish anything that needs to go on mobile), and doesn't support raytracing, which I eventually want to mess around with too.
- What libraries would allow drawing windowless overlays?
go-wlroots
-
What libraries would allow drawing windowless overlays?
For Sway you can use the go bindings for wlroots. https://github.com/swaywm/go-wlroots
What are some alternatives?
gl - Go bindings for OpenGL (generated via glow)
mathgl - A pure Go 3D math library.
goxjs/gl - Go cross-platform OpenGL bindings.
goxjs/glfw - Go cross-platform glfw library for creating an OpenGL context and receiving events.
SPH-Fluid-Simulation - A multi-threaded particle-based solver, Smoothed-Particle Hydrodynamics, for the Navier-Stokes equation
nwg-bar - GTK3-based button bar for wlroots-based compositors
fauxgl - Software-only 3D renderer written in Go.
Ebiten - Ebitengine - A dead simple 2D game engine for Go
macdriver - Native Mac APIs for Go. Soon to be renamed DarwinKit!
go-sdl2 - SDL2 binding for Go
go-webgpu - Go bindings for WebGPU, a safe & cross-platform GPU abstraction
clipman - A simple clipboard manager for Wayland