data = {"x": [], # Speicherort der Frame "y": [], "z": [], "size": [], "Object": [], "date": []} def get_data(): i = 1 j = 365 step = 0 # Tag:86400 Sekunden, pro tag 864 Updates--> Beschleunigung mit Faktor 100 steps = 864 while i <= j: print("calc frame :", str(i)) for obj in objects: # geht objekte durch und ruft update-funktion auf data["x"].append(obj.pos[0] / 149597900000) data["y"].append(obj.pos[1] / 149597900000) # speichert objektvariablen in data in AU data["z"].append(obj.pos[2] / 149597900000) data["size"].append(obj.size) data["Object"].append(obj.name) data["date"].append(i) while step < steps: for obj_ in objects: obj_.update() step += 1 step = 0 i += 1