SwiftGraphics

0.3.1

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

What's New

Docs & Paths

2021-02-21T23:56:12Z
  • [CHANGED] Document changes from 0.3.0
  • [CHANGED] Smoothing has been removed from Path, use BezierPath instead
  • [CHANGED] Move Bézier control point calculation to Vector

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

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Dec 12 2024 22:59:07 GMT-1000 (Hawaii-Aleutian Standard Time)