I'm just going to post this without any further context.
#rstats #ggplot2

@teunbrand what code does that?

I had the beginnings in rgl::wire3d(quadmesh::quadmesh(z)) but it's not aligned to current rgl and new stuff is scattered in gh projects 🙏 (I was obsessed with quad- vs tri- meshes and the details of centre-based vs area-based rasters, and bilinear interp in {raster} which was borko)

@mdsumner Oh this doesn't do anything fancy, it assure you it is quite low-tech. Mostly it is just `trans3d()` + custom code to make a transformation matrix (similar to the return value of `persp()`).
@teunbrand I'm impressed that it represents the wiremesh faithfully (of the rotated sinc z matrix in ?persp, I assume) these details rock my world
@mdsumner The wiremesh effect was just converting the matrix to long format and using two `geom_path()`s: once with `group = x` and once with `group = y`. The hard bit was getting ggplot2 to adhere to a z-scale.
@teunbrand Are you bringing 3D plots to ggplot2?
@larry77 All I'm saying at this point is that I might eliminate some barriers that currently prevent this.