vasturiano / globe.gl

UI component for Globe Data Visualization using ThreeJS/WebGL
https://vasturiano.github.io/globe.gl/example/world-population/
MIT License
2.06k stars 304 forks source link

Ripple rings disappearing #75

Open nataliao2613 opened 2 years ago

nataliao2613 commented 2 years ago

Hello, Is it possible to set time after which rings disappear? I want to show some rings and after few seconds they will start to disappear one by one. Thanks in advance.

vasturiano commented 2 years ago

@nataliao2613 you can just set a timer for the removal of the rings, like in this example: https://github.com/vasturiano/globe.gl/blob/e7bfcc1408b97713d263838b6e8895d0514f64b5/example/emit-arcs-on-click/index.html#L44-L46