A Color Swatch that plays a circular rotation based on user gestures.
rn_color_swatch_demo_ios.mov
- Gesture based color palette, which rotates following the user's touch movement on the screen, every layer having different rotation degree.
- Open and close palette on click of anchor button at the bottom.
- Clicking on color changes screen's background.
- react-native-gesture-handler:- To track user gestures
- react-native-reanimated:- to rotate Swatch based on gestures
Inspired by this original SwiftUI implementation by @philipcdavis.
- YouTube Tutorial
- Demo: twitter | youtube