CostaMesh | R Documentation |
Computes a mesh of the Costa surface.
CostaMesh(nu = 50L, nv = 50L)
nu, nv |
numbers of subdivisions |
A triangle rgl mesh (object of class mesh3d
).
library(jacobi)
library(rgl)
mesh <- CostaMesh(nu = 250, nv = 250)
open3d(windowRect = c(50, 50, 562, 562), zoom = 0.9)
bg3d("#15191E")
shade3d(mesh, color = "darkred", back = "cull")
shade3d(mesh, color = "orange", front = "cull")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.