diff +anim/animate.m @ 200:ef41fde95ac4 feature/beams

Merged feature/grids into feature/beams.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 13 Jun 2016 16:59:02 +0200
parents 2fe13db674da
children
line wrap: on
line diff
--- a/+anim/animate.m	Mon Feb 29 15:40:34 2016 +0100
+++ b/+anim/animate.m	Mon Jun 13 16:59:02 2016 +0200
@@ -19,6 +19,7 @@
     dTau_target = 1/target_frame_rate; % Real time between frames
 
     rs = util.ReplaceableString();
+    rs.appendFormat('                   t: %d\n');
     rs.appendFormat('                 tau: %d\n');
     rs.appendFormat('          target tau: %d\n');
     rs.appendFormat('          Target fps: %.2f\n');
@@ -59,7 +60,7 @@
 
         % Update information about this frame
         tau = toc(animation_start);
-        rs.updateParam(tau, targetTau, 1/dTau_target, 1/dTau, time_modifier_bound, time_modifier);
+        rs.updateParam(t, tau, targetTau, 1/dTau_target, 1/dTau, time_modifier_bound, time_modifier);
     end