KuangshiAi
add 16 vector field cases from Kaiyuan Tang
367c2bc
raw
history blame
980 Bytes
Load the supernova explosion velocity field dataset from "supernova-velocity_streamline/data/supernova-velocity_streamline.vti" (VTI format, 128x128x128 grid).
Generate streamlines seeded from a line source along the diagonal from (20,20,20) to (108,108,108) with 80 seed points.
Color streamlines by velocity magnitude using the 'Magma (matplotlib)' colormap.
Render as tubes with radius 0.4.
Add a color bar labeled 'Velocity Magnitude'.
Dark background (RGB: 0.02, 0.0, 0.05). Isometric camera view. Render at 1024x1024.
Save the paraview state as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.pvsm".
Save the visualization image as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.png".
(Optional, if use python script) Save the python script as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.py".
Do not save any other files, and always save the visualization image.