Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.19 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.19 KB

Yet Another 2D Graphics Package For Go

Go Reference godocs.io Go Report Card Build Status

Gophers rendered with graphics2d

Dancing gophers rendered with graphics2d primitives.

The top level Path and Shape types are complete, and the majority of PathProcessors implemented, including:

  • StrokeProc - fixed width strokes with a variety of cap and join types.
  • SnipProc - chops up a path according to a pattern
  • DashProc - wrapper around SnipProc for creating a dashed path
  • CompoundProc - allows concatenation of PathProcessors

dashedstroke := NewCompoundProc(NewDashProc(pattern, offs), NewStrokeProc(1))

Wiki entries here

Code Structure

Visualization of the codebase