Skip to content

Latest commit

 

History

History

grid_magnification

Grid Magnification Effect

A grid list view that displays Magnify effect on long press & drag, focusing on the items near the touch area within a radius.

👀 This is how it looks

rn_grid_magnification_effect.mp4

📦 Packages used

  1. react-native-gesture-handler:- To track user gestures
  2. react-native-reanimated:- To Animate the Grid items with respect to the user's gestures.
  3. @shopify/react-native-skia:- To Reimplement same effect using RN-Skia provided components and gesture & Animation APIs.

🗒 TODOs

  1. Improve performance, especially on Android.
  2. Fix and improve Skia implementation

🌻 Motivation

Inspired by this original SwiftUI implementation by @philipcdavis.

🔗 Links