Closed teunbrand closed 5 years ago
This is probably most generally implemented as a pixel-to-polygon parameterising version of geom_raster() combined with a position function that can rotate x and y values.
This is now possible in the dev branch by combining geom_polygonraster()
in combination with position_lineartrans()
.
Would probably be nice if one could give the input of
geom_raster()
to a geom function, and specify a rotation angle, shear or 2x2 matrix to transform the output using linear algebra, outputting the pixels as small polygons.