Now In Code
Get access

Tap Ripple with Dot Matrix Wave

Tapping an element moves a cyan outline and glass label above the finger, and a ripple spreads from the touch at 450 pt/s with a white crest. A dot-matrix variant turns the swept area into glowing LED dots. SkSL on WebGL and Skia.

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

Agent prompt

Add the Now In Code component "tap-ripple-with-dot-matrix-wave" to this project.

The full source is attached at the end of this prompt. Put the files under components/tap-ripple-with-dot-matrix-wave/, 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
8 Oct 2026
License
Unlimited commercial projects
Original design
@marvinkennis 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 photo-card screen where touching an object selects it. A touch dot appears under the finger, a cyan outline wraps the chosen element and a glass label pill names it. A ripple then spreads from the touch point and is clipped to the selected element's shape. It combines a travelling crest that pushes the image outward, a thin mist and a dot matrix. In the glass version the dots sit on a five-point grid, are pushed apart by the wave and brighten, enlarge and stretch along the radius inside a soft band that fades as it travels. A second dot-matrix mode fills the area with dots whose size and brightness follow a continuous wave field, with fading concentric ripples behind the front. Holding keeps the dots gently pulsing outward, and releasing gathers them back to the plain image.

How it's built

The ripple is a Skia runtime effect whose formula follows a publicly documented ripple shader approach, written once in a shared file that also feeds the WebGL browser preview. In React Native the content is ordinary views. On press, a snapshot of the view is taken with makeImageFromView and a Skia overlay samples it through the shader, drawn at device-pixel scale. When the ripple ends the snapshot layer is removed and only a resting dot-matrix shader remains. The outline, touch dot and pill are views and svg shapes, and the glass label uses expo-blur.

Good for

  • Object selection in photo editors, scanners and design tools
  • Press feedback on cards or images that should feel physical
  • A decorative tap effect for dark, tech-styled interfaces

Dependencies

@shopify/react-native-skiaexpo-blurreact-native-svgreact-native

Tags

CardDark ModeFluid MotionGlowGradientIconLiquid GlassNeon TechPhysics SimulationPixel AnimationPress FeedbackReading and ContentRippleShaderSocialSystem UITab Bar

Related