expo-three-orbit-controls
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

expo-three-orbit-controls

supports iOS supports Android supports web

This is a very rough port of Three.js OrbitControls for universal React apps with Expo.

  • Fully written in TypeScript because it's the best! 🌟
  • Internally this uses a basic PanResponder for gestures. PRs to migrate PanResponder to React Native Gesture Handler are very welcome.
  • On web, two finger gestures aren't currently implemented.
  • On native, the camera may jump when panning + zooming ends due to issues with React Native PanResponder.

☁️ Installation

yarn add expo-three-orbit-controls

🚀 Usage

Import into your project:

import OrbitControlsView from 'expo-three-orbit-controls';

Check out the example for more info.

Dependents (2)

Package Sidebar

Install

npm i expo-three-orbit-controls

Weekly Downloads

73

Version

2.0.0

License

MIT

Unpacked Size

108 kB

Total Files

9

Last publish

Collaborators

  • evanbacon