SVG Timeseries to GIF | Tom Larkworthy | Observable
•ojs
Comments (5)
Fabian Iwand
Dec 20, 2020
This might be overkill. You can terminate gif.js workers fairly easily: _terminate(gif) { gif.abort(); gif.freeWorkers.forEach(w => w.terminate()); } (From
https://observablehq.com/d/88a8246df5677bae#GifConverter
)
Tom Larkworthy
Dec 22, 2020
I don't think leaks comes up in practice enough for me to worry about it. The gif render call is triggered by a deliberate human click which is not going to be often.
Fabian Iwand
Dec 22, 2020
Sorry, I totally misread this cell's purpose! Somehow I thought it was meant to create compilation threads.
Reply
Fabian Iwand
Dec 22, 2020
Submitting twice triggers an "RuntimeError: Already running" error in the step cell and dependent cells
Tom Larkworthy
Dec 22, 2020
thanks fixed.
Reply
Add comment
Subscribe to notifications
Observable
Sign in
Tom Larkworthy
26
Reply
Reply
Add comment
Subscribe to notifications
9
SVG Timeseries to GIF | Tom Larkworthy | Observable