This is an example of 3D rendering using
- React Native
- expo-three
- three.js
- react-native-unimodules
- Packages included:
"react": "17.0.1",
"react-native": "0.64.2",
"base64-arraybuffer": "^1.0.1",
"expo-gl": "^10.4.2",
"expo-gl-cpp": "^10.4.1",
"expo-three": "^5.7.0",
"react-native-unimodules": "^0.14.6",
"three": "^0.131.2"
git clone https://github.com/kyaroru/RNExpoThree
cd RNExpoThree
yarn install
cd ios && pod install // for ios
npx react-native run-ios
or
npx react-native run-android
Demo is laggy because it is in .gif
, in actual device it would be much smoother 😉
Have fun!