allen-cell-animated / volume-viewer

https://allen-cell-animated.github.io/volume-viewer/
Other
92 stars 7 forks source link

feasibility of buffering multiple volumes #102

Closed toloudis closed 6 months ago

toloudis commented 1 year ago

Use Case

it would be great to be able to do real time playback of time series data but buffering multiple volumes is memory intensive.

Can we detect anything about a user's system resources (cpu and/or gpu) and provide some automatic buffering capability?
Can we allow power users some control over pre-buffering many times in a time series?

Solution

Prototype ui widgets to let user say how many times to prebuffer. Include some indicator of buffering progress and range of times in the buffer (say times 30-60 out of a 0-500 range). Determine what things we can measure about a user's system resources from in-browser.

toloudis commented 1 year ago

Requirements for a good caching system for these images:

toloudis commented 1 year ago

There is a deprecated but probably-still-working performance.memory api available in chrome and edge but not firefox nor safari

frasercl commented 6 months ago

We can play through time now! It works ok!