HopfTorusMesh | R Documentation |
Triangle mesh of a Hopf torus.
HopfTorusMesh(nlobes = 3, A = 0.44, alpha = NULL, nu, nv)
nlobes |
number of lobes of the Hopf torus, a positive integr |
A |
parameter of the Hopf torus, number strictly between
|
alpha |
if not |
nu, nv |
numbers of subdivisions, integers (at least 3) |
A triangle rgl mesh (class mesh3d
).
library(cgalMeshes)
library(rgl)
mesh <- HopfTorusMesh(nu = 90, nv = 90)
open3d(windowRect = 50 + c(0, 0, 512, 512))
view3d(0, 0, zoom = 0.75)
shade3d(mesh, color = "forestgreen")
wire3d(mesh)
mesh <- HopfTorusMesh(nu = 90, nv = 90, alpha = 1.5)
open3d(windowRect = 50 + c(0, 0, 512, 512))
view3d(0, 0, zoom = 0.75)
shade3d(mesh, color = "yellowgreen")
wire3d(mesh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.