forked from GazzolaLab/PyElastica
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: visualization example description
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
## POVray Visualization Example | ||
# POVray Visualization Example | ||
|
||
A simple example of rendering pyelastica using POVray. | ||
The code [render](continuum_snake_render.py) generates POVray script (.pov) and image file (.png) to render POVray animation. | ||
|
||
### Bash Script to Run | ||
``` bash | ||
python continuum_snake.py # Creates continuum_snake.dat file | ||
python continuum_snake_render.py # Creates pov_snake_diag.mp4 and pov_snake_top.mp4 file | ||
python continuum_snake_render.py # Creates pov_snake_diag.mp4 and pov_snake_top.mp4 file (3-5 minutes) | ||
``` | ||
|
||
### Dependency | ||
- povray | ||
- moviepy | ||
- ffmpeg |