An implementation of Boids

Boids Unlimited

An implementation of Boids

  • Hosts a MTKView within SwiftUI using an UIViewRepresentable
  • Updates and draws the Boids using a MetalKit compute kernel shader

Simulator.Screen.Recording.-.iPad.Air.5th.generation.-.2022-03-22.at.20.47.46.mp4

References and Sources

Inspiriations for starting this project:

Original Boids papers and reference:

I based my implementation off this code:

Extremely Helpful Articles on MetalKit:

Screenshots

GitHub

View Github