Now In Code
Get access

Glass Orb Refraction Ripple Prompt

A smoked-glass orb grows and pushes out a ripple with rainbow dispersion. A caret appears, its top overshoots on a damped spring while the bottom follows 0.32 s later, sliding up as a capsule that becomes an arrow and fades. SkSL shared by HTML and Skia.

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

Agent prompt

Add the Now In Code component "glass-orb-refraction-ripple-prompt" to this project.

The full source is attached at the end of this prompt. Put the files under components/glass-orb-refraction-ripple-prompt/, 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, Web
Requires
Expo SDK 54+
Access
Pro
Updated
23 Oct 2026
License
Unlimited commercial projects
Original design
@kushsolitary 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

A dark glass orb that grows from a point, sends a ripple through whatever image sits behind it, and then slides to the top of the screen. The orb swells with an exponential approach. A ring-shaped wave then travels outward from the point where it was born, bending the backdrop as it passes and pulling the red, green and blue channels slightly apart. An upward arrow forms inside the orb out of a caret, with a faint pink glow around it. The orb slides up with a critically damped spring and the lower end follows a beat later, so it stretches. Finally it shrinks away. The backdrop is any image or view snapshot passed in as a prop, and a CC0 photo stands in by default.

How it's built

A single SkSL shader in a shared core file does the work, using a radial sine wave packet with a Gaussian envelope to displace the backdrop and a glass body drawn as a rounded shape whose edges refract. The browser preview runs the same source through CanvasKit, and the React Native component runs it as a Skia runtime effect with Reanimated driving the time value. The slide uses a spring with measured stiffness, with different start times for the two ends. Timings for growth, wave, arrow and shrink are stored as short analytic expressions. The component takes a backdrop prop, so it is not tied to one photo.

Good for

  • Voice or assistant prompt launchers that should feel like a lens over the current screen
  • Transitions where a control grows, ripples the content under it and then docks at the top
  • Glassy overlays over photos, maps or video

Dependencies

@shopify/react-native-skiareact-native-reanimatedreact-native

Tags

3D ObjectAI AssistantDark ModeExpand and CollapseFluid MotionGlowGradientIconLiquid GlassMorphingMusic and AudioNeon TechRippleSpring PhysicsState TransitionSystem UIVoice Assistant

Related