Now In Code
Get access

Noise Wavefront and Dust Photo Transitions

One transition sweeps a noisy white glowing wavefront across the photo with a warm grid band, contour lines and stars. The other breaks a photo into colored dust, then grows the new photo from the bottom with glitter. WebGL and Skia run the same shaders.

Inspired by a design by @radbar_1 on XRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "noise-wavefront-and-dust-photo-transitions" to this project.

The full source is attached at the end of this prompt. Put the files under components/noise-wavefront-and-dust-photo-transitions/, install the listed dependencies with `npx expo install`, and render it on a route I can open.

Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply.

=== Source files are attached here for paid plans ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
iOS, Android
Requires
Expo SDK 54+
Access
Pro
Updated
6 Oct 2026
License
Unlimited commercial projects
Original design
@radbar_1 on X

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs

What it does

Two phone screens that swap between five photos using different shader transitions. On the left a glowing wavefront sweeps across the image. The old side has a warm milky band with a faint grid, bright jittering cores, thin coloured edges and parallel echo lines, and the new side has a light haze with drifting sparkles. On the right the old photo dissolves into scattered dots, brightest areas last, until the screen is a dark field of twinkling points. The new photo then builds up from the bottom with a front of coloured dots and glitter behind it. The cycle repeats on its own, and photos can be dragged onto the screen to use them.

How it's built

Both effects are SkSL fragment shaders drawn by a Skia canvas, and the same shader text is shared with the WebGL preview. The glow transition warps a noise field, sets a threshold per slot and uses the finite-difference gradient to get a signed distance from the front, which drives all the bands, the grid and the sparkles. The dust transition uses a dithered point grid with separate noise-and-brightness weights for dissolving out and building in. A requestAnimationFrame loop supplies time and progress, and five images are loaded with Skia's useImage hook as shader inputs. The noise uses a sine-free hash to avoid precision problems on mobile GPUs.

Good for

  • Gallery, story or onboarding screens that change photos with a stronger transition than a cross-fade
  • Profile or avatar pickers that need a short reveal after a choice
  • A loading or hero image swap with a stylised look

Dependencies

@shopify/react-native-skiareact-native

Tags

AvatarCamera and PhotoDark ModeDesign ToolsDynamic IslandFluid MotionGlowGradientIconLoading AnimationBrand and MarketingNeon TechParticlesScreen TransitionShader

Related