awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
fogleman avatar

fogleman/gg

0
View on GitHub↗
4,778 estrellas·383 forks·Go·MIT·7 vistasgodoc.org/github.com/fogleman/gg↗

Gg

gg es una biblioteca de gráficos 2D y motor de gráficos vectoriales en Go diseñado para la generación de imágenes programática. Proporciona una API de renderizado de lienzo para crear formas 2D, trazados y activos visuales personalizados, que pueden exportarse como archivos PNG y JPG.

El kit de herramientas permite la construcción de geometrías complejas utilizando curvas de Bezier y trazados personalizados. Admite una variedad de operaciones de renderizado, incluyendo el relleno y trazado de contornos, la aplicación de degradados lineales y radiales, y la utilización de patrones de superficie.

La biblioteca cubre una amplia gama de capacidades, incluyendo el renderizado de texto con ajuste de palabras y medición de dimensiones, transformaciones de coordenadas como rotación y escalado, y el uso de recorte de máscara alfa para restringir áreas de dibujo. También gestiona el estado de los gráficos a través de un sistema basado en pila para admitir transformaciones y estilos anidados.

Features

  • 2D Vector Graphics Libraries - Provides a comprehensive API for drawing shapes, paths, and text in a two-dimensional vector space using Go.
  • Canvas Rendering - Provides a raster-based canvas rendering engine for programmatic image generation in Go.
  • Canvas and Paint APIs - Offers programmatic interfaces for defining drawing styles and executing rendering commands on a surface.
  • Canvas Coordinate Transformations - Implements canvas coordinate modifications including translation, scaling, rotation, and skewing.
  • Programmatic Image Toolkits - Provides a set of tools for creating PNG and JPG files through 2D drawing and font rendering.
  • Go Graphics Libraries - Provides a specialized toolkit for rendering 2D shapes and text using a coordinate-based canvas in Go.
  • Shape Drawing - Renders geometric primitives including circles, rectangles, ellipses, polygons, and arcs.
  • Path Geometry Construction - Enables the construction of complex geometry using cubic and quadratic Bezier curves and custom paths.
  • Composite Path Construction - Constructs complex vector paths by combining linear segments and Bezier curves.
  • Fill and Stroke Styles - Applies colors, gradients, and patterns to define the interior and boundaries of vector shapes.
  • Transformation Stacks - Implements a transformation stack to save and restore nested matrix transformations.
  • Vector Rasterizers - Converts mathematical vector definitions, including Bezier curves and paths, into pixel-based raster images.
  • Text Rendering - Renders text strings onto a canvas with support for fonts, alignment, and word wrapping.
  • Raster Image Renderers - Implements a rendering engine to produce high-quality PNG and JPG files with custom layouts and gradients.
  • Graphics State Management - Manages graphics state by saving and restoring stacks of style and transformation settings.
  • Raster Image Exporters - Exports final visual output to disk or writers in PNG and JPG formats.
  • Canvas Image Positioning - Provides logic for aligning and positioning external images on the rendering canvas.
  • Dynamic Image Renderers - Enables programmatic generation of images like banners and charts based on runtime functions.
  • Gradient Renderers - Renders smooth linear and radial color transitions across graphical elements.
  • Image Blitting - Allows placing external image data onto the drawing canvas by mapping source pixels to target coordinates.
  • Clipping Regions - Defines path-based clipping regions to restrict the visible rendering area of the canvas.
  • Text Dimension Measurement - Calculates the exact pixel width and height of text segments for custom layout rendering.
  • Clipping Path Applications - Provides tools for restricting rendering areas using defined vector paths or alpha masks.
  • Surface Patterns - Supports filling shapes and strokes using repeating surface patterns and gradients.
  • Image Processing - Pure Go 2D rendering library.

Historial de estrellas

Gráfico del historial de estrellas de fogleman/ggGráfico del historial de estrellas de fogleman/gg

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace fogleman/gg?

gg es una biblioteca de gráficos 2D y motor de gráficos vectoriales en Go diseñado para la generación de imágenes programática. Proporciona una API de renderizado de lienzo para crear formas 2D, trazados y activos visuales personalizados, que pueden exportarse como archivos PNG y JPG.

¿Cuáles son las características principales de fogleman/gg?

Las características principales de fogleman/gg son: 2D Vector Graphics Libraries, Canvas Rendering, Canvas and Paint APIs, Canvas Coordinate Transformations, Programmatic Image Toolkits, Go Graphics Libraries, Shape Drawing, Path Geometry Construction.

¿Qué alternativas de código abierto existen para fogleman/gg?

Las alternativas de código abierto para fogleman/gg incluyen: sixlabors/imagesharp — ImageSharp is a .NET image processing library and manipulation framework used for decoding, encoding, and modifying… software-mansion/react-native-svg — This project is a graphics library for React Native that provides a cross-platform vector rendering engine. It maps… leaferjs/leafer-ui — Leafer UI is a high-performance HTML5 canvas rendering engine and 2D vector graphics library. It utilizes a… gcssloop/androidnote — AndroidNote is a technical knowledge base and reference resource for Android development. It provides comprehensive… exyte/macaw — Macaw is a Swift vector graphics library and animation framework used to create and render scalable geometric shapes… konvajs/react-konva — react-konva is a declarative React canvas graphics library and 2D vector graphics framework. It serves as a rendering…

Alternativas open-source a Gg

Proyectos open-source similares, clasificados según cuántas características comparten con Gg.
  • sixlabors/imagesharpAvatar de SixLabors

    SixLabors/ImageSharp

    7,954Ver en GitHub↗

    ImageSharp is a .NET image processing library and manipulation framework used for decoding, encoding, and modifying digital images. It functions as a comprehensive toolkit for resizing, cropping, and applying pixel-level filters while managing color profiles and pixel data across various file formats. The project integrates a 2D vector graphics engine and a typography rendering engine to draw geometric shapes, paths, and complex stylized text onto images. It also includes a geometry boolean operation library for calculating intersections, unions, and differences between complex polygons and c

    C#bmpc-sharpdrawing
    Ver en GitHub↗7,954
  • software-mansion/react-native-svgAvatar de software-mansion

    software-mansion/react-native-svg

    7,990Ver en GitHub↗

    This project is a graphics library for React Native that provides a cross-platform vector rendering engine. It maps SVG XML elements to native graphics APIs, allowing for the creation of scalable shapes and custom illustrations that maintain visual consistency across mobile and web environments. The library functions as a mapper that converts standard SVG markup into declarative component structures. It enables the creation of interactive vector interfaces by providing components that can detect and respond to user touch events. Its capability surface includes drawing basic geometric primiti

    TypeScript
    Ver en GitHub↗7,990
  • leaferjs/leafer-uiAvatar de leaferjs

    leaferjs/leafer-ui

    4,184Ver en GitHub↗

    Leafer UI is a high-performance HTML5 canvas rendering engine and 2D vector graphics library. It utilizes a hierarchical scene tree to manage shapes, paths, and text, providing a toolkit for building interactive canvas applications and expansive infinite canvases. The engine is designed as a cross-platform canvas toolkit that decouples core logic from the drawing API, allowing it to run across web, mobile, server, and mini-program environments. It distinguishes itself by providing specialized tools for interactive graphic editor development, including hit detection, event bubbling, and transf

    TypeScriptcanvasinfinite-canvasleafer
    Ver en GitHub↗4,184
  • exyte/macawAvatar de exyte

    exyte/Macaw

    6,050Ver en GitHub↗

    Macaw is a Swift vector graphics library and animation framework used to create and render scalable geometric shapes and text. It functions as an SVG rendering engine and an interactive vector graphics toolkit for displaying complex artwork while maintaining image quality at any scale. The framework enables the animation of shape properties and node transformations, including the ability to morph one vector path into another. It allows for the integration of external SVG files and the application of linear and radial gradients to fills and strokes. The toolkit covers a range of capabilities

    Swiftanimationdrawinggraphics
    Ver en GitHub↗6,050
Ver las 30 alternativas a Gg→