Hacker News new | ask | show | jobs
by fluxic 900 days ago
I love the beautiful motion!

> We now take this file and filter the data within such that we only keep entries which fit in the Zurcih area bounding box. After this is done we obtain the road network of the city from Open Street Map. Having this information we can now estimate a shortest path between two stations and take this as a guess for the taken path. As a final step we need to estimate a timestamp for each intersection in the path. This will help us in creating a smooth animation. This process is done by linearly interpolating the time from the start location to the end location, based on the distance.

This is super clever too.

Wonderful job.

1 comments

Thank you, the smooth animation was only possible thanks to the DeckGL framework. In the past I tried using only MapBox, which resulted in laggy animations. I do enjoy seeing the city "pulsing" with the day/night cycle.