Hacker News new | ask | show | jobs
by code_research 3593 days ago
Hey, all you makers of chart libraries!

First a big thank you for your fantastic efforts and for letting the world participate by open sourcing all that stuff!

But one thing: Please make it easy to generate VIDEO OUTPUT with your libraries!

This is an artificial limitation that I hit with many charting libraries - output generation is html (js) only and people who would like to create moving images have unnecessary problems shoehorning that nice chart library into outputting to a high resolution video.

Please do not limit your designs to one output medium.

Think video, too, THANKS!

2 comments

Have you tried using Julia? Tom Breloff's Plots.jl[0] package has a built-in @gif macro, which already relies on ImageMagick and/or FFmpeg (depending on which one of them is present). So it shouldn't be too hard to extend that to mp4 (just pass different output parameters to FFmpeg). In fact, he has an issue open for it[1] so he appears to be working on that.

[0] https://juliaplots.github.io/#simple-is-beautiful

[1] https://github.com/tbreloff/Plots.jl/issues/320

http://zulko.github.io/blog/2014/11/29/data-animations-with-...

But yes, authors of chart libraries should add "output to video / any medium" on their "required features" list.