Name

sphere

Examples
# sphere 1 https://processing.org/reference/sphere_.html

settings <- function() {
    size(100, 100, P3D)
}

setup <- function() {
    noLoop()
}

draw <- function() {
    noStroke()
    lights()
    translate(58, 48, 0)
    sphere(28)
}
Description A sphere is a hollow ball made from tessellated triangles.
Syntax
sphere(r)
Parameters
rfloat: the radius of the sphere
Related sphereDetail
Creative Commons License