Live data experiment
Bengaluru in a Jar
A tiny Bengaluru in a glass jar. Whatever the sky is doing over the city right now, it does inside the jar too.
Bengaluru
26°
Partly cloudy
H 29 / L 19 · 20% rain
Drag the jar to turn and tip it.
Why this one
Every weather app looks the same: a big number, a sun or a cloud icon, and a strip of hourly forecasts. They tell you the weather, but none of them let you feel it. Bengaluru in a Jar is my new spin: the city's real weather, playing out inside a tiny glass world you can pick up and tip. It's also me pushing what interactive 3D on the web can do with water and reflection.
The Boring Version
A temperature, an icon and a list. Accurate, and forgettable. On a phone, rain in Bengaluru looks exactly like rain anywhere else.
My Version
A terrarium that follows Bengaluru's live weather, checked every 90 seconds. Clouds gather under the lid, and rain streaks down and beads on the glass. The pool by the rain tree fills and ripples. At night the street lamp and the auto's headlights glint on the water. Under the hood, the glass really refracts and reflects. Every drop is a tiny lens, and the water is simulated, so rain rings spread and bounce off the shore, and tipping the jar sends it sloshing.
The small details
Look closer, and the jar keeps going.
01 / Real water
The pool isn't an animation loop. It's a water surface simulated on the GPU every frame. Each raindrop presses a dent into it, and the rings spread, cross each other and bounce off the shoreline. Tip the jar and the water runs to one side, washes back and slowly settles.
02 / The pool by the tree
It sits right at the rain tree's roots and rises with the rain. The harder it pours, the wider it spreads, until the auto's wheels are in the water. Grass at the edge goes under as it rises. You can see the moss through the shallows, and the tree and the lights reflect on the surface, broken up by every ripple.
03 / Light you can see
At night the street lamp throws a soft cone of light that the rain and mist catch, and the auto's headlights glint across the water. On clear days, faint shafts of sun slant through the jar. In a storm, lightning flickers inside the clouds before it strikes.
04 / Glass that behaves like glass
The jar bends what's behind it and splits colour very slightly at its edges. Every condensation drop is a tiny lens. Turn on finger marks and the grease blurs what you see through it.
05 / Sound you can feel
Pick the jar up and you hear your hand close around the glass. Tip it and the water sloshes, and when it settles the glass gives a small tink. Rain, wind and thunder follow the weather. By day there are birds and the odd far-off honk, kept just at the edge of hearing.