JoPmt commited on
Commit
8be1267
1 Parent(s): 744eff2

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 * 17)
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 * 18)
55
  planet.rotation_euler = (0, 0, angle)
56
  planet.keyframe_insert(data_path="rotation_euler", index=-1, frame=frame)
57
  ##return planet