Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 856 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 856 Bytes

SwiftGraphics

Swift Documentation badge

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

Take a look at the documentation and visit the example repo for a working reference.

Ray Tracing Example

2D Primatives

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

Ray Tracing

  • Directional emitter
  • Radial emitter
  • Linear emitter
  • Fresnel lenses
  • Refraction

Vectors

  • 2D Vectors

Rendering

  • SVG output
  • PNG output