Example #1
0
def gen_random_shapes(n):
    for x in range(n):
        i = random.randint(0, 2)
        if i == 0:
            ren.random_sphere()
        elif i == 1:
            ren.random_plane()
        else:
            ren.random_triangle()
Example #2
0
def gen_random_shapes(n):
    for x in range(n):
        i = random.randint(0, 2)
        if i == 0:
            ren.random_sphere()
        elif i == 1:
            ren.random_plane()
        else:
            ren.random_triangle()
Example #3
0
def random_spheres(n):
    for x in range(n):
        ren.random_sphere()
Example #4
0
def random_spheres(n):
    for x in range(n):
        ren.random_sphere()