React-ThreeJs Weather App
β click here to see detail of page
- This project aims to create Weather App with Material UI and ThreeJs.
π ThreeJs
π React Globe
π Props and State Logic
π React Router Dom
π State Management with Context Api
π Conditional Rendering
π Async Await Function
π React Hooks (useState, useEffect, useRef, useNavigate, useParams ReactMemo)
π React AutoAnimate
π 3rd Part Libraries ( Toastify, Axios, AutoAnimation )
π Styling with Material Ui and SASS
π Deployment with Vercel and Netlify
β You can use OpenWeather Api for your app to get apiKey
"react-globe": "^5.0.2",
"react-globe.gl": "^2.22.3",
"three": "0.118.3"
import ReactGlobe from "react-globe";
<ReactGlobe
height="100vh"
animations={animations}
width="100vw"
markers={markers}
options={{
cameraAutoRotateSpeed: 1,
cameraRotateSpeed: 0.5,
enableCameraAutoRotate: true,
enableCameraRotate: true,
enableCameraZoom: true,
cameraDistanceRadiusScale: 5,
cameraMaxDistanceRadiusScale: 10,
ambientLightColor: "grey",
ambientLightIntensity: 1,
}}
/>