{"id":52919,"library":"sbinet-gg","title":"GG Graphics","description":"Package gg provides a simple API for rendering 2D graphics in pure Go.","status":"active","version":"0.8.0","language":"go","source_language":null,"source_url":null,"tags":["graphics","2d","rendering","drawing"],"install":[{"cmd":"go get git.sr.ht/~sbinet/gg","lang":"bash","label":"Install git.sr.ht/~sbinet/gg"}],"dependencies":[],"imports":[{"symbol":"gg","correct":"git.sr.ht/~sbinet/gg"}],"quickstart":{"code":"package main\n\nimport (\n\t\"git.sr.ht/~sbinet/gg\"\n)\n\nfunc main() {\n\tdc := gg.NewContext(100, 100)\n\tdc.DrawCircle(50, 50, 40)\n\tdc.SetRGB(0, 0, 1)\n\tdc.Fill()\n\tdc.SavePNG(\"circle.png\")\n}","lang":"go","description":"Draws a blue circle and saves it as a PNG."},"warnings":[],"env_vars":null,"search_vec":"'2d':11,17 'api':8 'draw':19 'gg':1,4 'go':15 'graphic':2,12,16 'packag':3 'provid':5 'pure':14 'render':10,18 'simpl':7","created_at":"2026-06-15T07:17:42.703372+00:00","updated_at":"2026-06-15T07:17:42.703372+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://git.sr.ht/~sbinet/gg","github":null,"docs":"https://pkg.go.dev/git.sr.ht/~sbinet/gg#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}