bmschmidt / pubmed-explorer

Scrollership through 20m pubmed abstracts.
Other
25 stars 2 forks source link

What does `duration: 2000` mean in the code block? #38

Closed dkobak closed 1 year ago

dkobak commented 1 year ago

The second slide has the following code block:

duration: 2000

And the third one:

max_points: 750_000
duration: 2000
encoding:
  jitter_radius: null
  jitter_speed: null

In both cases my understanding is that the visualization remains the same as in the 1st slide. So why do we need these code blocks at all, and what does duration and jitter_radius:null do?

Maybe duration is the length of the transition animation? But in this case there are no transitions between slides 1/2/3, so can we just delete those two code blocks?

bmschmidt commented 1 year ago

Duration is the length of the transition animation in milliseconds. I think the reason the those were in there had to do with the spiraling points in the first blocks that we removed. I have removed the two blocks.