[R-pkgs] New R graphics package targeting HTML 5 canvas element

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[R-pkgs] New R graphics package targeting HTML 5 canvas element

Jeffrey Horner
Hi,

canvas is a new R package implementing a graphics device that emits
javascript code conforming to the HTML 5 CanvasRenderingContext2D
interface. Available on CRAN soon, but you can get it here immediately:

http://www.rforge.net/canvas

If you have access to a beta web browser like Firefox 3.1 or later, you
can see example plots here:

http://www.rforge.net/canvas/plots/index.html

Clicking on one of the plots will take you to a comparator page where
the plot is rendered twice, once with the canvas package and once with
the png(type='cairo') function.

The implementation is almost complete, however there are some parts that
need work like font metrics and dotted/dashed lines. If anyone is
interested in helping flesh out the remaining bits, I'd be much obliged.

Best,

Jeff

_______________________________________________
R-packages mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-packages

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.