Skip to content

Commit 609917f

Browse files
committed
Added note to explain using Imagemagick convert tool to generate animated GIFs.
1 parent 6cff93f commit 609917f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,13 @@ The references listed were used to develop the equations of motion for the vario
192192

193193
## Evaluation Summaries ##
194194

195-
The following subsections present comparative analysis results illustrating an incrementatal approach to evaluating ODE's fidelity. First, the ODE physical system is compared to a linearized ideal system, then a non-linearized ideal system, and finally to a non-linearized, non-idealized (i.e., a physical) system. In all cases, a very small ODE simulation and RK4 integration step size of 0.001 seconds was used to reduce ODE modeling error due to its use of a less than 4th order accurate implicit integration method. Also, the initial pendulum rod angles are set at 25 degrees with respect to vertical so as not to invalidate the use of small angle approximation to linearize the idealized equations of motion in subsections 1.a and 2.a below.
195+
The following subsections present comparative analysis results illustrating an incrementatal approach to evaluating ODE's fidelity. First, the ODE physical system is compared to a linearized ideal system, then a non-linearized ideal system, and finally to a non-linearized, non-idealized (i.e., a physical) system. In all cases, a very small ODE simulation and RK4 integration step size of 0.001 seconds was used to reduce ODE modeling error due to its use of a less than 4th order accurate implicit integration method. Also, the initial pendulum rod angles are set at 25 degrees with respect to vertical so as not to invalidate the use of small angle approximation to linearize the idealized equations of motion in subsections 1.a and 2.a below.
196+
197+
Note, the animated GIFs presented herein were created utilizing the open source Imagemagick's convert tool to assemble a sequence of PNG image files generated by the tutorial2*.py programs discussed below when the SAVE_ANIM flag is set to True. Upon completion of a tutorial2*.py program, change to the ./anim folder and execute the following shell command:
198+
199+
$ convert -delay F_TIME -loop 0 tutorial2[x|bob|bobs|rods|arm]_0???.png -scale 640x480 tutorial2[x|bob|bobs|rods|arm]_anim.gif
200+
201+
where F_TIME denotes the delay time in hundreths of seconds between frames calculated from 1/FPS, with FPS specified in a tutorial2*.py program executed, and tutorial2[x|bob|bobs|rods|arm] represents a set of tutorial2* suffixes to select a value corresponding with a tutorial2*.py program executed to generate the sequence of PNG image files in the ./anim folder to be assembled into an animated GIF tutorial2*_anim.gif file.
196202

197203
### 1. Summary of tutorial2x.py Results ###
198204

0 commit comments

Comments
 (0)