Art-in-Swift A collection of interactive animations made with code in Swift Playgrounds app Click on the images to see the code 👇 Blob Creatures (uses MetalBuilder and TransformGesture) Verlet Engine (uses MetalBuilder and TransformGesture) Splines Renderer (uses MetalBuilder) Particles+Vision (uses MetalBuilder) Squid Game (particles moving in fields shaped by SDFs) Density Simulator (uses MetalBuilder and ReordableViews) Worms (thread simulation drawn via Core Graphics) Ray Marching Blending Matcaps (with Metal shader inside a SwiftUI view) Ray Marching Mixing Colors (with Metal shader inside a SwiftUI view) Ray Marching Toggle (with Metal shader inside a SwiftUI view) Button on Ropes (physics simulation in real time in SwiftUI view) Crashing Buttons in SwiftUI Hexagons and Pendulums