Package ipdemographics provides a Go client for the IP Demographics API.
Package zipdemographics provides a Go client for the ZIP Demographics API.
Package imgui contains all the functions to create an immediate mode graphical user interface based on Dear ImGui.
Package imgui contains all the functions to create an immediate mode graphical user interface based on Dear ImGui.
Package svgpoly reads SVG files and represents them as a selection of polygon.Shapes.
Package zenity provides cross-platform access to simple dialogs that interact graphically with the user.
Package gg provides a simple API for rendering 2D graphics in pure Go.
Package qml offers graphical QML application support for the Go language.
Package graphics provides functions to draw 2D graphics based on OpenGL 3.0.
Package go3d is a performance oriented vector and matrix math package for 2D and 3D graphics.
Package polymark is a set of convenience functions to generate polygon shapes that represent common geometric shapes and text.
Package hershey provides an API to obtain vector data to render Hershey fonts.
Package imgui contains all the functions to create an immediate mode graphical user interface based on Dear ImGui.
Package openvg is a wrapper to a C library of high-level 2D graphics operations built on OpenVG 1.1 The typical "hello world" program looks like this: package main import ( "bufio" "github.com/ajstarks/openvg" "os" ) func main() { width, height := openvg.Init() // OpenGL, etc initialization w2 := openvg.VGfloat(width / 2) h2 := openvg.VGfloat(height / 2) w := openvg.VGfloat(width) openvg.Start(width, height) // Start the picture openvg.BackgroundColor("black") // Black background openvg.FillRGB(44, 100, 232, 1) // Big blue marble openvg.Circle(w2, 0, w) // The "world" openvg.FillColor("rgb(100,255,123)") // White text openvg.TextMid(w2, h2, "hello, world", "serif", width/10) // Greetings openvg.End() // End the picture bufio.NewReader(os.Stdin).ReadBytes('\n') // Pause until [RETURN] openvg.Finish() // Graphics cleanup } Functions The Init function provides the necessary graphics subsystem initialization and the dimensions of the whole canvas.
Package gg provides a simple API for rendering 2D graphics in pure Go.