Nova, a Metal shader for SwiftUI
SwiftUI Metal shader

Nova

A breathing, boiling plasma star raymarched in six styles — Solar (warm pulsing core), Golden (calm two-beat sun), Emerald (green star spinning as it boils), Violet (wobbling magenta heart), Crimson (furnace with erupting flares), Aurora (iridescent gradient star). Edit each colour zone individually — Surface, Core and Halo — plus a global Tint, Background, and the surface turbulence, camera, brightness / contrast / saturation.

SwiftUIWeb

How it works

Nova 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 Web version. No MSL to write.

12 settings you can tune

  • Style
  • Speed
  • Scale
  • Turbulence
  • Brightness
  • Contrast
  • Saturation
  • Surface
  • Core
  • Halo
  • Tint
  • Background

More SwiftUI shaders