0.0.1-alpha.0 • Published 2 months ago
react-native-planet v0.0.1-alpha.0
react-native-planet
Create your own planet using React Native
Installation
npm install react-native-planet
Usage
import { Planet } from 'react-native-planet';
// ...
<Planet
sceneBackgroundColor="#000000"
// You can use either a remote url or a local image
// texture={require('./assets/your_local_texture.jpg')}
texture={{
uri: 'https://eoimages.gsfc.nasa.gov/images/imagerecords/144000/144898/BlackMarble_2016_01deg.jpg',
}}
showsStatistics
allowsCameraControl
rotationDuration={60}
bloom={{ intensity: 0.5, radius: 100 }}
/>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
0.0.1-alpha.1
2 months ago
0.0.1-alpha.0
5 months ago