Ah, I see. No this is currently not possible. And while there are fundamental changes in the next next releases of InteractiveDynamics and Agents which will make constructing more customised figures and interactive applications a lot easier, this will not change anything about the behaviour of abm_video which will still exist in its current form as a convenience function. We don’t have plans to extend this to your use case as of now but contributions are always welcome, of course. ![]()
To achieve what you’re trying to do, you actually just need to write a simple function yourself. It should contain the step-wise model advancement and data collection (not via run! but via step!), as well as the recording of the videoframe after each step. For actually writing it, you can then orient yourself on the code of abm_video and the advice given here in the docs. After initialising model and dataframes, the core loop should be something like “record frame, step model, record adata/mdata in dataframes”. Hope this helps. ![]()