Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,7 @@ def create_planet_flyby_animation(planet, radius, duration):
|
|
54 |
def add_animated_space_rocks():
|
55 |
bpy.context.scene.render.fps = 10
|
56 |
duration = 2
|
|
|
57 |
for i in range(30):
|
58 |
bpy.ops.mesh.primitive_uv_sphere_add(radius=random.uniform(0.01, 0.1), location=(random.uniform(-10, 10), random.uniform(-10, 10), random.uniform(-4, 9)))
|
59 |
space_rock = bpy.context.active_object
|
|
|
54 |
def add_animated_space_rocks():
|
55 |
bpy.context.scene.render.fps = 10
|
56 |
duration = 2
|
57 |
+
radius=2
|
58 |
for i in range(30):
|
59 |
bpy.ops.mesh.primitive_uv_sphere_add(radius=random.uniform(0.01, 0.1), location=(random.uniform(-10, 10), random.uniform(-10, 10), random.uniform(-4, 9)))
|
60 |
space_rock = bpy.context.active_object
|