A cinematic intelligence OS dashboard inspired by the video reference โ featuring a 3D globe, layer modes (CRT, NVG, FLIR, AI), real-time mock data, and full tactical HUD aesthetics.
- Node.js (v16 or newer) โ download from https://nodejs.org
- npm (comes with Node.js)
Open your terminal in the worldview/ folder and run:
npm installThis installs React, Framer Motion, and all dependencies. Takes ~1-2 minutes.
npm start
Your browser will automatically open to http://localhost:3000
That's it! ๐
worldview/
โโโ public/
โ โโโ index.html # HTML shell + Google Fonts
โ
โโโ src/
โ โโโ index.js # React entry point
โ โโโ App.js # ๐ Main orchestrator + boot sequence
โ โ
โ โโโ styles/
โ โ โโโ global.css # All CSS: CRT, NVG, FLIR, glow effects, animations
โ โ
โ โโโ data/
โ โ โโโ mockData.js # Flights, quakes, satellites, cities mock data
โ โ
โ โโโ components/
โ โโโ TopBar.js # WORLDVIEW header + UTC clock
โ โโโ LeftPanel.js # Data layer toggles (flights, quakes, sats...)
โ โโโ GlobeCenter.js # Globe wrapper + HUD overlays + scanning effects
โ โโโ Globe.js # SVG globe with projected markers
โ โโโ RightPanel.js # Tactical controls, sliders, orbital readouts
โ โโโ BottomBar.js # City tabs + layer switcher (Normal/CRT/NVG/FLIR/AI)
โ
โโโ package.json
| Button | Effect |
|---|---|
| Normal | Standard blue earth view |
| CRT | Circular telescope scope, surveillance mode |
| NVG | Green phosphor night vision (FLIR-style) |
| FLIR | Thermal infrared simulation |
| Arrow | High-contrast grayscale |
| AI | Neural-enhanced purple tint |
| None | Clean view |
- Bottom city buttons โ Fly to that city, sets target intel
- Globe markers โ Click flights (โ), quakes (โก), or satellites (โ) to lock target
- Left panel toggles โ Turn data layers on/off
- Right panel sliders โ Adjust alert/event filters + image processing
- Left panel โ Live Flights, Earthquakes, Satellites, Street Traffic, Weather Radar, CCTV Mesh
- Right panel โ REC timer, orbital readouts (GSD, ALT, velocity), target lock coordinates
- Bottom ticker โ Scrolling classified intel feed
// In src/data/mockData.js, replace MOCK_FLIGHTS fetch:
const res = await fetch('https://opensky-network.org/api/states/all');
const data = await res.json();
const flights = data.states.slice(0, 50).map(s => ({
id: s[1]?.trim() || 'UNKN',
lat: s[6], lng: s[5], alt: s[7] * 3.28, // meters to feet
spd: s[9] * 1.944, // m/s to knots
}));// In src/data/mockData.js:
const res = await fetch('https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.geojson');
const data = await res.json();
const quakes = data.features.map(f => ({
id: f.id,
lat: f.geometry.coordinates[1],
lng: f.geometry.coordinates[0],
mag: f.properties.mag,
place: f.properties.place,
depth: f.geometry.coordinates[2],
}));npm install react-globe.glThen in Globe.js, uncomment the GlobeComponent and it will use Three.js 3D globe automatically.
- Sign up at https://mapbox.com (free tier: 50k map loads/month)
- Get your access token
- Replace the SVG globe with a Mapbox GL JS component:
npm install react-map-gl mapbox-glEdit src/styles/global.css root variables:
:root {
--cyan: #00e5ff; /* Main accent */
--amber: #ffb300; /* Warning/alert */
--red: #ff1744; /* Critical */
--green: #00e676; /* Nominal/OK */
}Edit src/data/mockData.js:
export const CITIES = [
{ name: "Your City", lat: 40.71, lng: -74.01 },
// ...
];In src/styles/global.css:
.layer-yourmode .globe-wrap {
filter: /* your CSS filter here */;
}Then add the button in src/components/BottomBar.js.
| Problem | Solution |
|---|---|
npm install fails |
Make sure Node.js 16+ is installed: node --version |
| Blank screen | Check browser console (F12) for errors |
| Globe not loading | The SVG globe works offline; for 3D globe run npm install react-globe.gl |
| Fonts not loading | App works offline but fonts need internet; fallback is monospace |
| Port 3000 in use | Run PORT=3001 npm start |
npm run buildCreates optimized files in build/ folder. Deploy to any static host (Vercel, Netlify, GitHub Pages).
- React 18 โ UI framework
- Framer Motion โ Animations and transitions
- CSS3 โ CRT/NVG/FLIR filter effects, scanlines, glow
- SVG โ Custom globe projection (orthographic)
- Google Fonts โ Orbitron, Share Tech Mono, Rajdhani
Classification: TOP SECRET // TS-TK // NOFORN
If you run into Three.js module export errors, reinstall dependencies after updating three.