meta data for this page
  •  

This is an old revision of the document!


Translate

Shapes can be translated (moved) to another location. In other words, every point in the shape is moved by a fixed distance as given by the offset. The offset can be positive or negative.

Learn about translation at MathIsFun.com

Defaults:

  • offset : [0, 0, 0]
let myshape = sphere([radius: 5})
let newshape = translate([0, 0, 10], myshape)