This is an idea that I had just thought about for my website revamp and quickly coded up a simple proof of concept.
I wanted to simulate a lighting up of room effect via javascript. Yes it could easily be done in Flash but everything seems to be moving to javascript these days for obvious reasons (see html5 and google chrome).

