Learn R Programming

jacobi (version 3.1.1)

CostaMesh: Costa surface

Description

Computes a mesh of the Costa surface.

Usage

CostaMesh(nu = 50L, nv = 50L)

Value

A triangle rgl mesh (object of class mesh3d).

Arguments

nu, nv

numbers of subdivisions

Examples

Run this code
library(jacobi)
library(rgl)
# \donttest{
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")
# }

Run the code above in your browser using DataLab