Create your own planet using React Native
npm install react-native-planet
import { PlanetView } from 'react-native-planet';
// ...
<PlanetView
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 }}
/>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library