SwiftGraphics

SwiftGraphics is a library for creative coding and generative art tailored towards rending SVGs meant for pen plotting.

2D Primatives

  • Circle
  • Rectangle
    • BoundingBox
  • Line
  • Bézier path

Ray Tracing

  • Directional emiiter
  • Radial emiiter
  • Linear emiiter
  • Fresnel lenses

Vectors

  • 2D Vectors

Rendering

  • SVG output
  • PNG output

GitHub