The CPU code behind the shape.cylinder node: it takes the node's inputs and returns the mesh as a procgen Geometry (proc.substrate.fromArrays). The node's README lists the inputs.
shape.cylinder
proc.substrate.fromArrays