enram / bird-migration-flow-visualization

Bird migration flow visualization
http://enram.github.io/bird-migration-flow-visualization/viz/
MIT License
23 stars 6 forks source link

Interpolate ALL data before drawing #101

Closed peterdesmet closed 9 years ago

peterdesmet commented 9 years ago

Interpolate all data for the whole week and store in memory before starting the animation. By preloading, the user will have to wait a bit beforehand, but the visualization will have faster access to a specific interval (e.g. using slider) afterwards.

peterdesmet commented 9 years ago

We recorded this issue as a reminder that this might actually be less efficient: the interpolate function is currently quite fast. Preloading a 1000x1000 grid with 3 values for 500 timeframes would require 1.500.000.000 values to be stored in browser memory, which is probably not a good idea.