Mercurial > repos > public > sbplib
comparison +noname/animate.m @ 132:6ec2248b83c4
Refactored +anim.animate to be more clear.
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Fri, 05 Feb 2016 10:49:16 +0100 |
| parents | 1035c190e8de |
| children | 08d7bb7c8ac4 |
comparison
equal
deleted
inserted
replaced
| 131:26e047194383 | 132:6ec2248b83c4 |
|---|---|
| 65 drawnow | 65 drawnow |
| 66 % waitforbuttonpress | 66 % waitforbuttonpress |
| 67 if makemovies | 67 if makemovies |
| 68 save_frame(); | 68 save_frame(); |
| 69 end | 69 end |
| 70 % pause(0.1) | |
| 71 str = util.replace_string(str,'t = %.5f',ts.t); | |
| 72 | 70 |
| 73 if do_pause | 71 if do_pause |
| 74 pause | 72 pause |
| 75 end | 73 end |
| 76 end | 74 end |
