Comment Comment by the_duke I just checked.They gauges moving around is definitely random.The updates are done with a "president.json" file, fetched every 15 seconds, but the timestamp in the json data only changes every 30-180 seconds.So all of the movement is just random jitter to make it engaging.Maybe a bit disingenuous.(Note: I first thought they might be using websockets, but no WS connection is made on the page. Only a ajax fetch of president.json) parent the_duke 10 years ago
They gauges moving around is definitely random.
The updates are done with a "president.json" file, fetched every 15 seconds, but the timestamp in the json data only changes every 30-180 seconds.
So all of the movement is just random jitter to make it engaging.
Maybe a bit disingenuous.
(Note: I first thought they might be using websockets, but no WS connection is made on the page. Only a ajax fetch of president.json)