Fractal Clouds, a Metal shader for SwiftUI
SwiftUI Metal shader

Fractal Clouds

Drifting fractal clouds rendered with two passes of 5-octave value noise. The first FBM warps the second, producing soft cumulus swirls; a warm tint adds ambient lift.

SwiftUIReact NativeWeb

How it works

Fractal Clouds 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.

10 settings you can tune

  • Speed
  • Drift X
  • Drift Y
  • Zoom
  • Warp
  • Coverage
  • Sky
  • Cloud
  • Warm tint
  • Warmth

More SwiftUI shaders