Advanced 2D Graphics for Go

AdvanceGG is a powerful, production-ready 2D graphics library that brings professional-grade drawing capabilities to Go applications. Create stunning visualizations, games, and graphics with ease.

Production Ready High Performance Easy to Use
package main

import "github.com/GrandpaEJ/advancegg"

func main() {
    // Create a new canvas
    dc := advancegg.NewContext(800, 600)
    
    // Set background
    dc.SetRGB(0.1, 0.1, 0.2)
    dc.Clear()
    
    // Draw gradient circle
    dc.SetRGB(1, 0.5, 0)
    dc.DrawCircle(400, 300, 100)
    dc.Fill()
    
    // Add text with shadow
    dc.SetRGB(1, 1, 1)
    dc.DrawString("Hello AdvanceGG!", 300, 350)
    
    // Save as PNG
    dc.SavePNG("output.png")
}

Powerful Features

Everything you need for professional 2D graphics

Layer System

Multi-layered drawing with blend modes, opacity control, and professional compositing.

Advanced Colors

ICC color profiles, multiple color spaces (RGB, CMYK, HSV, LAB), and accurate color conversion.

Typography

Unicode shaping, emoji rendering, text-on-path, and advanced text metrics.

Vector Graphics

Path2D support, Bézier curves, advanced stroke styles, and smooth vector rendering.

Image Processing

15+ filters, non-destructive editing, multiple formats (PNG, JPEG, GIF, WebP, TIFF).

High Performance

SIMD optimizations, memory pooling, batch operations, and intelligent caching.

Getting Started

Start creating amazing graphics in minutes

1

Install AdvanceGG

go get github.com/GrandpaEJ/advancegg
2

Import and Create Context

import "github.com/GrandpaEJ/advancegg"

dc := advancegg.NewContext(800, 600)
3

Start Drawing

dc.SetRGB(1, 0, 0)
dc.DrawCircle(400, 300, 100)
dc.Fill()
dc.SavePNG("circle.png")

Examples

See what you can create with AdvanceGG

Data Visualization
Data Visualization

Charts, graphs, and interactive dashboards

View Example
Text Effects
Text Effects

Typography, text-on-path, and creative effects

View Example
Layer System
Layer System

Multi-layer compositing and blend modes

View Example

API Reference

Complete documentation for all features