Spaces:
Paused
Paused
test2
Browse files
app.py
CHANGED
|
@@ -84,12 +84,12 @@ print(f"Loaded positions with %i elastic, %i liquid and %i boundary points (%i t
|
|
| 84 |
print("Num of time points found: %i"%len(all_points))
|
| 85 |
|
| 86 |
pl = pv.Plotter(window_size=[400,400])
|
| 87 |
-
pl.set_background("
|
| 88 |
|
| 89 |
last_mesh = None
|
| 90 |
|
| 91 |
def create_mesh(step):
|
| 92 |
-
|
| 93 |
step_count = step
|
| 94 |
value=step_count
|
| 95 |
global last_mesh
|
|
@@ -130,7 +130,7 @@ def create_mesh(step):
|
|
| 130 |
pl.add_mesh(mesh, scalars='myscalar', cmap='bwr')
|
| 131 |
|
| 132 |
## Final touches
|
| 133 |
-
pl.view_isometric()
|
| 134 |
|
| 135 |
return
|
| 136 |
|
|
|
|
| 84 |
print("Num of time points found: %i"%len(all_points))
|
| 85 |
|
| 86 |
pl = pv.Plotter(window_size=[400,400])
|
| 87 |
+
pl.set_background("lightgrey")
|
| 88 |
|
| 89 |
last_mesh = None
|
| 90 |
|
| 91 |
def create_mesh(step):
|
| 92 |
+
|
| 93 |
step_count = step
|
| 94 |
value=step_count
|
| 95 |
global last_mesh
|
|
|
|
| 130 |
pl.add_mesh(mesh, scalars='myscalar', cmap='bwr')
|
| 131 |
|
| 132 |
## Final touches
|
| 133 |
+
pl.view_isometric()'''
|
| 134 |
|
| 135 |
return
|
| 136 |
|