How to Make a Sensor-Based Parallax Effect in React Native
3 هزار بار بازدید -
9 ماه پیش
-
This step-by-step tutorial shows you
This step-by-step tutorial shows you how to add a cool parallax effect to your React Native application using the device sensors. To implement this we're going to use `useAnimatedSensor` hook from React Native Reanimated. Enjoy!
Links:
🏞 Assets: https://github.com/software-mansion-l...
🧑💻 Source code: https://github.com/software-mansion-l...
🐎 Documentation: https://docs.swmansion.com/react-nati...
Kudos to Kacper Kapuściak for making this tutorial. If you'd like to learn more React Native tips, don't forget to follow:
🐦 Kacper on Twitter: Twitter: kacperkapusciak
🐦 Software Mansion on Twitter: Twitter: swmansion
0:00 Intro
0:23 Project setup
1:32 Declaring markup and styles
2:21 Using rotation sensor
5:55 Outro
#reactnative #reanimated #programming #mobileappsdevelopment #mobileapps #reactnativetutorial
Music: Cinematic HipHop 001 by Sascha Ende
Free download: https://filmmusic.io/song/526-cinemat...
Licensed under CC BY 4.0: https://filmmusic.io/standard-license
Links:
🏞 Assets: https://github.com/software-mansion-l...
🧑💻 Source code: https://github.com/software-mansion-l...
🐎 Documentation: https://docs.swmansion.com/react-nati...
Kudos to Kacper Kapuściak for making this tutorial. If you'd like to learn more React Native tips, don't forget to follow:
🐦 Kacper on Twitter: Twitter: kacperkapusciak
🐦 Software Mansion on Twitter: Twitter: swmansion
0:00 Intro
0:23 Project setup
1:32 Declaring markup and styles
2:21 Using rotation sensor
5:55 Outro
#reactnative #reanimated #programming #mobileappsdevelopment #mobileapps #reactnativetutorial
Music: Cinematic HipHop 001 by Sascha Ende
Free download: https://filmmusic.io/song/526-cinemat...
Licensed under CC BY 4.0: https://filmmusic.io/standard-license
9 ماه پیش
در تاریخ 1402/08/22 منتشر شده
است.
3,019
بـار بازدید شده