User Tools

Site Tools


introduction:making_an_mfm_video

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
introduction:making_an_mfm_video [2014/09/07 16:31] ackleyintroduction:making_an_mfm_video [2014/09/07 21:51] (current) – [MakeMFMMovie: Script overview] ackley
Line 16: Line 16:
 See or download the full script at the bottom of this page.    See or download the full script at the bottom of this page.   
  
-Here's a three-minute example: 
-[[http://youtu.be/bueoWfK7IKU|Stabilizing Wa-Pat with fish sticks]] 
  
-That video was made with aggressive acceleration and surge parameters (see next section) to reveal deep-time dynamics in a relatively short presentation.  +{{ youtube>bueoWfK7IKU}} At right is an example illustrating the 'fish sticks' shark stabilization strategy.  That video was made with pretty aggressive acceleration and surge parameters (see next section) to reveal deep-time dynamics in a relatively short presentation.  
  
 ===== Video-related command-line parameters ===== ===== Video-related command-line parameters =====
Line 25: Line 23:
 Given that the '-p' switch causes the simulator to generate a .PNG each epoch, the primary relevant command-line switches are those that affect the size of an epoch: Given that the '-p' switch causes the simulator to generate a .PNG each epoch, the primary relevant command-line switches are those that affect the size of an epoch:
   * ''-e **NUM**'' set the epoch length to ''**NUM**'' AEPS.   * ''-e **NUM**'' set the epoch length to ''**NUM**'' AEPS.
-  * ''--accelerate **NUM**'' the epoch length by one every ''**NUM**'' epochs.  When this switch is used, the epoch length at the beginning of the simulation is the //initial// epoch length. +  * ''%%--%%accelerate **NUM**'' the epoch length by one every ''**NUM**'' epochs.  When this switch is used, the epoch length at the beginning of the simulation is the //initial// epoch length. 
-  * ''--surge **NUM**'' increment the acceleration every ''**NUM**'' epochs.  When this switch is used, the acceleration at the beginning of the simulation is the //initial// acceleration.+  * ''%%--%%surge **NUM**'' increment the acceleration every ''**NUM**'' epochs.  When this switch is used, the acceleration at the beginning of the simulation is the //initial// acceleration.
  
 === Simulator command-line examples for making videos === === Simulator command-line examples for making videos ===
Line 32: Line 30:
   * ''mfms -p'' -- Save a screenshot every epoch, which defaults to 100 AEPS   * ''mfms -p'' -- Save a screenshot every epoch, which defaults to 100 AEPS
   * ''mfms -p -e 1'' -- Set the epoch length to 1 to save a screenshot every AEPS.  Since ''MakeMFMMovie'' encodes video at 30 frames/second, this implies each second of the video will show 30 AEPS, so the video will display the simulation results at 30 AER (regardless of how fast or slow the simulation actually ran when the data was generated).   * ''mfms -p -e 1'' -- Set the epoch length to 1 to save a screenshot every AEPS.  Since ''MakeMFMMovie'' encodes video at 30 frames/second, this implies each second of the video will show 30 AEPS, so the video will display the simulation results at 30 AER (regardless of how fast or slow the simulation actually ran when the data was generated).
-  * ''mfms -p -e 0 --accelerate 30'' -- Set the epoch length to 0, but increment it every 30 epochs.  (Since 0 epochs is considered a multiple of 30, the epoch length gets incremented to 1 immediately.)  This causes the first second of video to run at 30 AER, the next second to run at 60 AER, and so on.  After 5 seconds, for example, a total of $30+60+90+120+150 = 450$ AEPS will have passed in the simulation; after //t// seconds of video, $30t(t+1)/2$ AEPS will have passed.  Videos made with a non-zero acceleration parameter are said to display in //**quadratic time**//. +  * ''  mfms -p -e 0 %%--%%accelerate 30'' -- Set the epoch length to 0, but increment it every 30 epochs.  (Since 0 epochs is considered a multiple of 30, the epoch length gets incremented to 1 immediately.)  This causes the first second of video to run at 30 AER, the next second to run at 60 AER, and so on.  After 5 seconds, for example, a total of $30+60+90+120+150 = 450$ AEPS will have passed in the simulation; after //t// seconds of video, $30t(t+1)/2$ AEPS will have passed.  Videos made with a non-zero acceleration parameter are said to display in //**quadratic time**//. 
-  * ''mfms -p -e 0 --accelerate 30 --surge 90''  -- Same as the previous case, except also increment the //acceleration// every 90 epochs.  Videos made with a non-zero surge parameter are said to display in //**cubic time**//.+  * ''  mfms -p -e 0 %%--%%accelerate 30 %%--%%surge 90''  -- Same as the previous case, except also increment the //acceleration// every 90 epochs.  Videos made with a non-zero surge parameter are said to display in //**cubic time**//.
  
 ===== The full MakeMFMMovie script ===== ===== The full MakeMFMMovie script =====
introduction/making_an_mfm_video.1410107468.txt.gz · Last modified: 2014/09/07 16:31 by ackley