Plasma, a Metal shader for SwiftUI
SwiftUI Metal shader

Plasma

Animated plasma in five styles — Solar (warm waves), Prism (rotating chromatic split), Spectrum (vertical chroma cascade), Ember (smoldering with hot pinpricks), Lilac (slow breathing pulse). Each style ships its own 5-stop palette and shares the scale / intensity / distortion controls.

SwiftUIReact NativeWeb

How it works

Plasma 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, or the React Native and Web version. No MSL to write.

9 settings you can tune

  • Style
  • Scale
  • Intensity
  • Distortion
  • Color 1
  • Color 2
  • Color 3
  • Color 4
  • Color 5

More SwiftUI shaders