ChatGPT - Voice Profiles Fluid Orb
This example recreates the fluid orb animation from ChatGPT's voice selection screen, where users swipe through voice profiles each displaying an animated blue-white fluid orb.
Source Code
Demo
Implementation Details
The animation uses:
@shopify/react-native-skiaRuntimeEffect shader for GPU-accelerated fluid renderingreact-native-reanimatedshared values to drive shader uniforms (time, boost)- A custom SKSL fragment shader with:
- 3-octave FBM (
fbm3) for large soft fluid shapes and advection fields - 5-octave FBM for finer boundary detail in the transition zone
- Two decorrelated shape layers blended to prevent uniform saturation
- A sparse overlay layer (fast speed, high warp, low density) for floating wisps
- 3-color gradient mapping: deep blue -> cyan -> white
- 3-octave FBM (
requestAnimationFrameloop accumulating time with boost-driven speed multiplier- Swipe boost animation using
withSequence/withDelayfor ramp-up and decay - Floating bob and breathing scale on the orb container