A Next.js application visualizing global operations with a 3D Earth animation using Three.js.
- Interactive 3D Earth visualization
- Real-time data flow animations
- Responsive design
- Built with Next.js, React Three Fiber, and TypeScript
- Next.js 14
- React 18
- Three.js
- React Three Fiber (@react-three/fiber)
- React Three Drei (@react-three/drei)
- TypeScript
- Tailwind CSS
First, install the dependencies:
npm installThen, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
To build the application for production:
npm run buildTo start the production server:
npm startThis project is configured for automatic deployment to GitHub Pages using GitHub Actions.
When you push changes to the main branch, the GitHub Actions workflow will:
- Build the Next.js application
- Export static files
- Deploy to GitHub Pages
You can also manually trigger a deployment from the Actions tab in your GitHub repository.
To manually build for GitHub Pages:
npm run deployThis will create a static export in the out directory with the proper configuration for GitHub Pages.
/src/components- React components including the 3D Earth visualization/src/app- Next.js app router pages and layouts/public- Static assets
This project is a Next.js migration of the original Jolly-Ops React application.