
SwiftUI Metal shader
Hyperspace
A jump to lightspeed on a loop: stars stretch into streaks, the screen flashes white, a tunnel opens, then the ship falls back to a drifting starfield. Four tunnels — a churning blue corridor, raked light rays, an arcing ion storm and racing shards.
SwiftUIReact NativeWeb
How it works
Hyperspace 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.
24 settings you can tune
- Style
- Warp speed
- Jump length
- Tunnel
- Pause
- Start at
- Repeat
- Brightness
- Density
- Layers
- Size
- Streak length
- Star speed
- Spread
- Twinkle
- Tunnel brightness
- Tunnel glow
- Warp glow
- Exposure
- Vignette
- Tint
- Stars
- Core
- Flash







