Six Deforming Card Scroll Effects
A looping carousel of six data cards deforms while it moves: Stretch, Bulge, Drum, Shatter into shards, Thanos into dust, or Glitch with RGB split. Drag or scroll; cards snap on a spring and tabs cross-fade effects. WebGL2 on web, Skia on React Native.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "six-deforming-card-scroll-effects" to this project. The full source is attached at the end of this prompt. Put the files under components/six-deforming-card-scroll-effects/, 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 ===
Details
- Platforms
- iOS, Android, Web
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 28 Sep 2026
- License
- Unlimited commercial projects
- Original design
- @sucodeee on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A card carousel that cycles through six scroll effects on the same set of six illustrated cards. One stretches the card as it travels, one makes it break into fragments, one dissolves it into drifting particles, one adds glitch tearing, one wraps the cards around a rotating drum, and one bulges the centre card. Dragging moves between cards and the current effect is applied to the one leaving and the one arriving, with a settle of about three quarters of a second. A tab bar sits under the stage in the layout.
How it's built
All geometry is computed on the CPU in a shared core and handed to Skia as draw lists: a deforming mesh through a vertices primitive and particles through an atlas draw. Shaders handle only the sampling effects, which are the dissolve threshold, glitch, blur and chromatic split, written in SkSL as runtime effects. A requestAnimationFrame loop records each frame into a picture, and dragging is handled with PanResponder. Reanimated is also imported for shared values, and the carousel position follows a critically damped spring.
Good for
- A gallery or story-card carousel where each transition should feel physical
- A delete or dismiss gesture that disintegrates the item
- A source of reusable mesh and particle deformations for any card
Dependencies
@shopify/react-native-skiareact-native-reanimatedreact-native