https://github.com/thomasp85/nanodev
Graphic Devices for R based on NanoVG
https://github.com/thomasp85/nanodev
graphics nanovg plotting rendering rstats
Last synced: about 2 months ago
JSON representation
Graphic Devices for R based on NanoVG
- Host: GitHub
- URL: https://github.com/thomasp85/nanodev
- Owner: thomasp85
- License: other
- Created: 2018-06-15T07:48:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T07:48:18.000Z (almost 7 years ago)
- Last Synced: 2025-03-25T09:52:50.806Z (2 months ago)
- Topics: graphics, nanovg, plotting, rendering, rstats
- Language: C
- Size: 138 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output:
md_document:
variant: markdown_github
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```# nanodev
[](https://travis-ci.org/thomasp85/nanodev) [](https://ci.appveyor.com/project/thomasp85/nanodev) [](https://CRAN.R-project.org/package=nanodev) [](https://CRAN.R-project.org/package=nanodev)
**HIGHLY EXPERIMENTAL WIP - DOES NOT WORK**
In order for R to produce graphics it must have a device to put the graphics in.
Many of these exists, both window-based (e.g. `X11()`) and file-based (e.g.
`png()`). While the graphics performance of R is highly dependent on the
performance of your plotting R code, as well as the underlying base or grid
graphics code it calls, the speed of the graphics device is also important as it
defines the speed with which the graphic instructions can be executed. `nanodev`
is an attempt to provide a modern, fast, high quality graphic device for R based
on the [NanoVG](https://github.com/memononen/nanovg) C++ library, which provides
an antialiased 2D vector drawing library on top of OpenGL.