Wednesday, April 13, 2011

Circles and Spheres

for ($x = 0; $x < 5; $x++)
{
int $whichShape = rand(2.0);

switch ($whichShape)
{
case 0:
polySphere;
move -r 0 ($x * 3) 0;

case 1:
circle;
move -r ($x * 3) 0 0;
}
}

No comments:

Post a Comment