Socket
Socket
Sign inDemoInstall

expo-three-orbit-controls

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    expo-three-orbit-controls

Universal Three.js Orbit Controls with Expo and React


Version published
Weekly downloads
246
increased by14.95%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 04 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc