Menu

1 / 7

I Built 101 Indian Monuments in the Browser Using Only Code (No 3D Models)

DEV Community: beginners·amananandrai·17 days ago
#PnF1TWAm
#devtobeginners#devto#dev#taj#monument
Reading 0:00
15s threshold

There isn't a single 3D model file on this site. Every one of these 101 monuments, from the Taj Mahal to a Himalayan monastery, is a small JavaScript function that builds the building out of boxes, cylinders and domes.

👉 Try it: monuments-of-india-nu.vercel.app ·

Code: github.com/amananandrai/monuments-of-india

The project in numbers

🏛️ 101 monuments across 26 states and union territories

📦 0 downloaded 3D models, 0 build steps, 0 npm dependencies for the site

🪶 ~2 KB of code per monument on average (the smallest is under 1 KB)

🎨 1 shader that paints stone, brick, marble and water on all of them

🌙 Day and night modes, with floodlights, festival lights and stars

Why I built it

Most people can find the Taj Mahal on a map. Far fewer could place Rani ki Vav, Ramappa or Key Monastery. I wanted a way to see how widely India's architecture is spread, and to explore each building from every angle instead of scrolling through photos.

So the site opens on a map of India, not a list.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.