Javascript visualization of heating, and some gestures