ASAP — Real-Time Wildfire Smoke, Dust & Air Health (ISPU & AQI) Radar for Indonesia & the World
During dry seasons in Indonesia and Southeast Asia, peatland and forest fires (Karhutla) can push toxic fine particulate matter (PM2.5) and Carbon Monoxide (CO) to life-threatening levels within hours. Yet most general weather apps fail to distinguish between toxic wildfire peat smoke and ordinary dry-season road dust—and rarely translate raw sensor numbers into actionable medical guidance for families, schools, and vulnerable groups.
That is why I built **ASAP** — a real-time Air Health Scale (Indonesia ISPU & US EPA AQI), Dust, and Wildfire Smoke Dispersion Radar built with a modern glassmorphic UI and powered by live CAMS Copernicus satellite atmospheric data.
### What ASAP Does:
- **Dual Air Health Scale Engine:** Calculates both Indonesia's official Ministry of Environment & Forestry standard (**ISPU Permen LHK No. 14/2020**) and the international **US EPA AQI** in real time.
- **60 FPS Live Smoke Plume & Wind Streamline Animation:** Visualizes volumetric drifting smoke clouds, downwind dispersion cones, and Windy-style atmospheric wind streamlines directly on 5 watermark-free interactive map models (Satellite Imagery, Street Map, Topographic Map, Dark Canvas, and Vector Tactical Radar).
- **Wildfire Smoke vs. Coarse Dust Anomaly Detector:** Analyzes the live ratio of fine combustion aerosols ($\text{PM}_{2.5}$) + Carbon Monoxide ($\text{CO}$) against coarse mineral dust ($\text{PM}_{10}$) to automatically classify whether pollution comes from peatland/forest fires or dry dust storms.
- **Cigarette Equivalent & Medical Action Guide:** Converts 24-hour $\text{PM}_{2.5}$ exposure into daily passive-smoking cigarette equivalents (Berkeley Earth formula: $22\ \mu\text{g/m}^3 = 1\text{ cigarette}$) and provides tailored recommendations for General Public, Toddlers/Pregnant Women, Asthma/COPD Patients, and Seniors, plus a Mask Filtration Efficiency Calculator (Cloth vs. Surgical vs. N95/KN95).
- **Indonesia, ASEAN & Global Coverage:** Includes instant region switching across 16 Indonesian cities, ASEAN transboundary haze corridors (Singapore, Kuala Lumpur, Kuching, Bangkok, Chiang Mai, Hanoi, Manila), and global cities (New Delhi, Beijing, Tokyo, Dubai, Sydney, Los Angeles), plus worldwide city search and click-anywhere satellite coordinate scanning.
- **Full Bilingual Support & Mobile-First UI:** Instant one-click switching between Bahasa Indonesia (🇮🇩 ID) and English (🇬🇧 EN) with a dedicated mobile bottom navigation bar
Tech stack
- Gemini (3.6 Flash)
- Vercel
Links
Prompt
Build a complete, modular, and visually elegant web application named "ASAP" to detect and monitor air health scales (Indonesia ISPU Permen LHK No. 14/2020 & US EPA AQI), dust levels, and wildfire/peatland smoke dispersion in Indonesia, Southeast Asia (ASEAN), and globally using 100% free real-time APIs (Open-Meteo CAMS Copernicus Air Quality API, Open-Meteo Weather API, and Open-Meteo Global Geocoding API) with zero paid API keys required.
CORE REQUIREMENTS & ARCHITECTURE:
1. Modular Codebase for Easy Customization:
- Organize the source code cleanly into separate modules: `js/config.js` (endpoints, i18n dictionary, city presets), `js/ispu.js` (ISPU & US AQI formulas, smoke vs. dust anomaly detector, cigarette equivalent calculator), `js/api.js` (live satellite batch fetching & geocoding), `js/app.js` (UI controller & canvas animations), and `css/style.css` (glassmorphic dark/light theme & mobile responsiveness).
2. Interactive Multi-Model Geospatial Map & Live Smoke Animation:
- Provide 5 watermark-free map modes using Esri ArcGIS tiles & custom SVG: Satellite Imagery, Street Map, Topographic Terrain, Dark Mode Map, and Vector Tactical Radar.
- Build a 60 FPS HTML5 Ca…
10 likes · 3 comments · 7 views
Comments (2)
Ayyy really glad to have you back Anita. This is sick, very useful. Always good to see what is going on in terms of these wildfires and it's really cool you made a tracker. Always happy to see a post from you on Prompted
thanks jack 😍
great entry sister<div><br></div>