animint
animint copied to clipboard
HTML Widget bindings
http://www.htmlwidgets.org/develop_intro.html
We should seriously consider getting HTMLWidget bindings for animint; this might allow us to zoom, etc. and interact with other JS libraries.
There are also some really handy functions that may be useful for us: http://www.htmlwidgets.org/develop_advanced.html#dataframetod3
We may be able to simplify the rendering/conversion by using dataframetod3() instead of writing a bunch of json files.
The resize method does look particularly nice, but I'm not sure that gives us zooming capabilities...
Resize does not zoom. It just provided a hook to handle resize event. Happy to help in converting if you decide to do it.
Good to know, thanks @timelyportfolio. By any chance, can you think of other benefits of converting (we already have shiny bindings)? I might be inclined to wait a few months since we might have 2 google summer of code students and there is already lots going on on the JS side...
at useR 2016 I discussed with @cpsievert and we decided it would probably be a good idea to make animint work with htmlwidgets, which seems to be a de facto standard.
@faizan-khan-iit like I said during the skype today, it would be a nice contribution for the R community if you have time to get animint to work with htmlwidgets... not sure how hard that will be though. ask @cpsievert, he has some experience with that I think.
Creating a new htmlwidget is fairly straightforward. Here is a nice overview of how to create one -- http://www.htmlwidgets.org/develop_intro.html
@tdhock Sounds nice. I will try and get familiar with it in the next few days. @cpsievert Thanks!