๐ Live Preview โข ๐ฎ๐ณ About โข โจ Features โข ๐บ๏ธ Page Sections โข ๐ง How It Works โข ๐งฐ Tech Stack โข ๐ฆ Install โข
Azadi 80 is a cinematic, single-page tribute to 80 years of Indian Independence (1947โ2026). A rotating chakra scene, a scroll-driven journey through the decades, tributes to the freedom fighters, a glimpse of modern India, and a giant animated "80" counter that bursts into confetti โ all rendered in the browser with Three.js and GSAP ScrollTrigger.
๐ View the live site โ 0xabhi13.github.io/Azadi80
> Initializing Azadi 80...
> Tricolour raised โ
> Chakra spinning โ
> ScrollTrigger armed โ
> Freedom fighters loaded โ
> 80 years counted โ
> Jai Hind. Scroll to begin โ๏ธ
|
Animated Chakra Scene A live, spinning Ashoka Chakra rendered on canvas โ with a lightweight CSS fallback if WebGL isn't available. |
Scroll-Driven Journey 1947 โ 2030, a GSAP ScrollTrigger timeline that reveals each chapter of India's story as you scroll. |
Freedom Fighter Tributes Six tilt-on-hover cards honouring Gandhi, Bose, Bhagat Singh, Patel, Rani Lakshmibai and Dr. Ambedkar. |
|
India Today Grid Nine cards on modern India โ from Chandrayaan-3 to UPI, unicorns to renewable energy. |
Animated "80" Centrepiece A giant number that counts up on scroll, framed by a spinning chakra and a burst of tricolour confetti. |
Patriotic Music, On Demand "Vande Mataram" (1937, public domain) plays only when you press play โ never autoplay. |
|
Finale Celebration A closing "Jai Hind" section with flag footage, glowing lights and a second confetti burst. |
Accessible by Design
Respects |
Responsive & Local Fluid across devices. No build step, no tracking, no upload โ everything renders in your browser. |
This is a static site. No data is collected, uploaded, or stored โ it's just HTML, CSS and JS in your browser.
| Section | Anchor | What You'll See |
|---|---|---|
| Home | #home |
Hero video, tricolour ribbons, and the opening headline |
| Our Journey | #journey |
A scroll-timeline from 1947's midnight hour to 2030 |
| Freedom Fighters | #fighters |
Six tribute cards for the icons of the freedom struggle |
| India Today | #today |
Nine highlights of modern India, 2026 |
| 80 Years | #years |
The animated "80" counter, chakra and confetti |
| Celebration | #celebration |
The closing "Jai Hind" finale |
Every reveal is scroll-triggered and debounced โ sections animate in once, smoothly, without re-triggering on every scroll jitter.
flowchart TD
A[๐ index.html] --> B[๐จ CSS3<br/>Tricolour design tokens]
A --> C[๐ scene.js<br/>Three.js chakra + WebGL scene]
A --> D[๐ฌ main.js<br/>GSAP ScrollTrigger reveals & counters]
A --> E[๐บ audio.js<br/>Web Audio patriotic music toggle]
C --> F[๐ฅ๏ธ Live Canvas Render]
D --> F
E --> G[๐ Optional Sound]
F --> H[๐ฎ๐ณ Azadi 80 Experience]
G --> H
style A fill:#001F54,color:#fff
style B fill:#FFFFFF,color:#001F54
style C fill:#FF9933,color:#001F54
style D fill:#138808,color:#fff
style E fill:#FFC94D,color:#001F54
style F fill:#0A2E66,color:#fff
style G fill:#F27F1E,color:#fff
style H fill:#138808,color:#fff
The chakra scene renders on a full-viewport <canvas> behind the content; GSAP's ScrollTrigger drives every reveal, the "80" count-up, and both confetti bursts โ so the whole experience stays in sync with how fast (or slow) you scroll.
๐ฑ๏ธ Click to expand setup steps
1. Clone the repo
git clone https://github.com/0xAbhi13/Azadi80.git
cd Azadi802. Serve it locally
Azadi 80 is a static site โ no build step, no npm install. Any local server works:
python -m http.server 80003. Open it
Visit http://localhost:8000 in your browser.
Opening
index.htmldirectly (file://) usually works too, but a local server avoids any browser restrictions on video/audio loading.
1. ๐ฎ๐ณ Open the site and let the preloader finish spinning up.
2. โ๏ธ Scroll down to begin the journey from 1947 to today.
3. ๐๏ธ Hover the freedom fighter cards to see the tilt effect.
4. ๐ Keep scrolling through India Today and the "80" counter.
5. ๐บ Tap "Play Patriotic Music" any time you like โ it's your call.
6. ๐ Reach the finale, say Jai Hind, and jump back to the top.
Azadi80/
โ
โโโ index.html # Markup for every section, hero to finale
โโโ README.md
โโโ LICENSE
โ
โโโ css/
โ โโโ style.css # Tricolour design tokens, layout, animations
โ
โโโ js/
โโโ scene.js # Three.js chakra / WebGL background scene
โโโ main.js # GSAP ScrollTrigger reveals, counters, confetti
โโโ audio.js # Patriotic music toggle (Web Audio, no autoplay)
- Portraits & monuments โ Wikimedia Commons (public domain / CC licensed)
- Chandrayaan-3 imagery โ ISRO, via Wikimedia Commons
- UPI logo โ NPCI, via Wikimedia Commons
- Technology photography โ Unsplash (Unsplash License)
- Flag footage โ Pexels (Pexels License)
- Music โ Vande Mataram, recorded by Pandit Chandrashekhar Vaze (1937), public domain (CC0), via Wikimedia Commons
This is an unofficial fan tribute, built with pride for India. It is not affiliated with, endorsed by, or produced on behalf of the Government of India.
- State-by-state map of India Today highlights
- More freedom fighters and regional stories
- Downloadable "80 Years" wallpaper generator
- Multi-language support (Hindi, regional languages)
- Shareable celebration card / screenshot mode
- Dark "night sky fireworks" theme toggle
Released under the MIT License.