Update app.py
Browse files
app.py
CHANGED
|
@@ -80,8 +80,8 @@ def gerar_proximo_ciclo(estado_anterior_json: str, progress=gr.Progress(track_tq
|
|
| 80 |
ax.set_xlim(-70, 70); ax.set_ylim(-70, 70); ax.set_zlim(-70, 70)
|
| 81 |
ax.set_xticklabels([]); ax.set_yticklabels([]); ax.set_zticklabels([])
|
| 82 |
ax.plot(x_traj, y_traj, z_traj, color='cyan', linewidth=2, alpha=0.5)
|
| 83 |
-
ax.scatter(*ponto_a, s=400, c='lime', alpha=0.7, label='
|
| 84 |
-
ax.scatter(*ponto_b, s=400, c='yellow', marker='X', alpha=0.7, label='
|
| 85 |
|
| 86 |
# Anima a bola
|
| 87 |
bola.set_data_3d([x_traj[frame]], [y_traj[frame]], [z_traj[frame]])
|
|
|
|
| 80 |
ax.set_xlim(-70, 70); ax.set_ylim(-70, 70); ax.set_zlim(-70, 70)
|
| 81 |
ax.set_xticklabels([]); ax.set_yticklabels([]); ax.set_zticklabels([])
|
| 82 |
ax.plot(x_traj, y_traj, z_traj, color='cyan', linewidth=2, alpha=0.5)
|
| 83 |
+
ax.scatter(*ponto_a, s=400, c='lime', alpha=0.7, label='A')
|
| 84 |
+
ax.scatter(*ponto_b, s=400, c='yellow', marker='X', alpha=0.7, label='B')
|
| 85 |
|
| 86 |
# Anima a bola
|
| 87 |
bola.set_data_3d([x_traj[frame]], [y_traj[frame]], [z_traj[frame]])
|