ofrohn/d3-celestial

disableAnimations doesn't apply to showConstellation

astroanu opened this issue · 3 comments

when calling showConstellation while disableAnimations is turned on, the view keeps animating the zooming in. Can this also be configured to follow disableAnimations configuration ?

What i'm trying to achieve is an api where it pops out an image based on the given request. The animation makes the request slow as it has to wait until the animation is complete.

I managed to solve it partially by making ANIMINTERVAL_Z =1
yea it's hardcoded in the unminified file

i was able generate images just fine, but it still takes around 5-7 seconds for the entire request to complete.

alt text

i'll be adding credit to your project on each image :)

Until now disableAnimations was just a quick fix by setting ANIMDISTANCE to infinite. That did not affect all animations.
The latest update (0.7.35) fixes that issue at the root and the setting should now disable all kinds of animations.

thanks, i'll check with the latest