yeatmanlab / AFQ-Browser

Browser-based visualization tools for AFQ results
BSD 3-Clause "New" or "Revised" License
33 stars 15 forks source link

Don't set draw range for every animation cycle in 3D panel #201

Closed richford closed 6 years ago

richford commented 6 years ago

Currently, each bundle's 3D draw range is set in each animation cycle (see animate function in 3d-brain.js. This results in a lot of unnecessary computation when the user is not brushing. We should take that part out and put it in separate functions that are called while brushing, on brushEnd, and on page initialization.

richford commented 6 years ago

Resolved by #200.