# Making movies based on time

**URL:** https://forum.itascainternational.com/t/making-movies-based-on-time/1333
**Category:** General
**Tags:** tips
**Created:** [February 21, 2024, 2:29pm UTC](https://forum.itascainternational.com/t/making-movies-based-on-time/1333 "2024-02-21T14:29:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jhazzard](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jhazzard](https://forum.itascainternational.com/u/jhazzard)
#### Post date: [February 21, 2024, 2:29pm UTC](https://forum.itascainternational.com/t/making-movies-based-on-time/1333/1 "2024-02-21T14:29:53Z")

</div>

Itasca software includes the ability to output a bitmap every n steps, but you might instead want to output your frames based on time (dynamic, thermal, fluid). You could do this with FISH - it would look something like this:

fish def make\_movie  
loop i (1,100)  
fname = ‘frame\_’+string(i)  
command  
model solve time 0.1  
plot ‘displacement’ export bitmap filename [fname]  
end\_command  
end\_loop  
end

See here for more info on making movies from frames: [Generating Videos via Plots | US Minneapolis - Itasca Consulting Group, Inc.](https://www.itascacg.com/learning/tutorials/generating-videos-via-plots)
