Registry / other / sbinet-gg

sbinet-gg

JSON →
library0.8.0gogounverified

Package gg provides a simple API for rendering 2D graphics in pure Go.

go get git.sr.ht/~sbinet/gg
INSTALL
IMPORT
SIG · SBINET-GG
S
sbinet-gg
othergov0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gg
git.sr.ht/~sbinet/gg

Draws a blue circle and saves it as a PNG.

package main import ( "git.sr.ht/~sbinet/gg" ) func main() { dc := gg.NewContext(100, 100) dc.DrawCircle(50, 50, 40) dc.SetRGB(0, 0, 1) dc.Fill() dc.SavePNG("circle.png") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sbinet-gg — go get sbinet-gg · libregistry