Cover
Reference
Tutorials
Bugs
settings <- function() {
size(100, 100, P3D)
}
draw <- function() {
background(0)
noStroke()
directionalLight(153, 153, 153, 0.5, 0, -1)
ambientLight(153, 102, 0)
ambient(51, 26, 0)
translate(70, 50, 0)
sphere(30)
}
modelZ(x ,y ,z )
| x | float: 3D x-coordinate to be mapped |
|---|---|
| y | float: 3D y-coordinate to be mapped |
| z | float: 3D z-coordinate to be mapped |