JoPmt commited on
Commit
479b893
1 Parent(s): 9dccbd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def add_planet(name, radius, mass, distance_from_sun):
51
  ##z = radius * math.sin(angle)
52
  ##planet.location = (x, y, z)
53
  ##planet.keyframe_insert(data_path="location", index=-1, frame=frame)
54
- angle = math.radians(frame * 19)
55
  planet.rotation_euler = (0, 0, angle)
56
  planet.keyframe_insert(data_path="rotation_euler", index=-1, frame=frame)
57
  ##return planet
 
51
  ##z = radius * math.sin(angle)
52
  ##planet.location = (x, y, z)
53
  ##planet.keyframe_insert(data_path="location", index=-1, frame=frame)
54
+ angle = math.radians(frame * 20)
55
  planet.rotation_euler = (0, 0, angle)
56
  planet.keyframe_insert(data_path="rotation_euler", index=-1, frame=frame)
57
  ##return planet