Loading Data, a Metal shader for SwiftUI
SwiftUI Metal shader

Loading Data

A GPU force-directed 'network of the mind' loading animation: scattered dots gather into clusters, wire up with live lines, get toured by a scripted camera, then fold into one glowing ball as a status readout counts to 100%. Exports a self-contained MetalKit + SwiftUI bundle.

SwiftUI

How it works

Loading Data is a real [[stitchable]] Metal shader, not a video or an image. It runs as a SwiftUI .layerEffect, so it reads and reshapes the whole layer of the view it is attached to. You shape it with sliders in a live preview, then export the .metal file and the SwiftUI code that uses it. No MSL to write.

20 settings you can tune

  • Speed
  • Loop
  • Dots
  • Clusters
  • Dot size
  • Glow
  • Line width
  • Line opacity
  • Spin
  • Theme
  • Background
  • Lines
  • Accent
  • Show labels
  • Label colour
  • Label size
  • Status colour
  • Show %
  • Show CTA
  • Restart button

More SwiftUI shaders