Gofb
Framebuffer library for golang
Install / Use
/learn @rostislavjadavan/GofbREADME

gofb
Framebuffer library for golang
Example
package main
import (
"github.com/rostislavjadavan/gofb"
)
func main() {
// Create Window
w := gofb.NewWindow("go-fb", 600, 600, false)
// Create pixel buffer
surface := gofb.NewSurface(600, 600)
// Draw pixel into buffer
surface.SetPixel(300, 300, gofb.NewColor3(255, 255, 255))
for w.IsRunning() {
w.StartFrame()
w.Clear(gofb.ColorBlack)
// Draw buffer on the screen
surface.Draw(0, 0)
w.FinalizeFrame()
}
defer surface.Release()
defer w.Destroy()
}
Features
- draw pixel by pixel
- load
png,jpgimages - scale to mimic pixel art
- use custom
ttffont - sprite sheets (for tile set rendering)
- keyboard and mouse input
More examples
Take a look at all the examples in the /examples folder.

Libraries used
- https://github.com/go-gl/glfw
- https://github.com/go-gl/gltext
License
Related Skills
node-connect
332.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
332.3kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
81.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
332.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
