
SwiftUI Metal shader
Particle Field
A living cloud of 150k additive point sprites in four styles — Sand Cloud, Pollen Field, Wave Surface, and Ripples. Drag to push the particles around. Exports as a self-contained MetalKit ContentView.swift plus the chosen style's standalone .metal file — no sliders, no effect list.
SwiftUI
How it works
Particle Field is a real [[stitchable]] Metal shader, not a video or an image. It runs as a SwiftUI .colorEffect, so it paints any view you attach it 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.
11 settings you can tune
- Style
- Rotation
- Spin
- Radius
- Strength
- Decay
- Turbulence
- Particle Size
- Background
- Glow
- Particle Color







