Skip to content

gadirom/Art-in-Swift

Repository files navigation

Art-in-Swift

A collection of interactive animations made with code in Swift Playgrounds app

iPadOS Swift 5.3 SwiftUI 2.0 Metal 2.4 Swift Playgrounds 3 License: MIT

Click on the images to see the code 👇

Blob Creatures (uses MetalBuilder and TransformGesture)

GIF

Verlet Engine (uses MetalBuilder and TransformGesture)

GIF

Splines Renderer (uses MetalBuilder)

GIF

Particles+Vision (uses MetalBuilder)

GIF

Squid Game (particles moving in fields shaped by SDFs)

GIF

Density Simulator (uses MetalBuilder and ReordableViews)

GIF

Worms (thread simulation drawn via Core Graphics)

GIF

Ray Marching Blending Matcaps (with Metal shader inside a SwiftUI view)

GIF

Ray Marching Mixing Colors (with Metal shader inside a SwiftUI view)

GIF

Ray Marching Toggle (with Metal shader inside a SwiftUI view)

GIF

Button on Ropes (physics simulation in real time in SwiftUI view)

GIF

Crashing Buttons in SwiftUI

GIF

Hexagons and Pendulums

GIF

Releases

No releases published

Packages

No packages published

Languages