Skip to content

emorydunn/SwiftGraphics

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jan 19, 2021
Oct 16, 2021
Jul 28, 2020

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages