fortplot_animation Module



Functions

public function FuncAnimation(animate_func, frames, interval, fig) result(anim)

Facade constructor: builds the animation_t and registers the save implementation so anim%save(...) works directly (per README).

Arguments

Type IntentOptional Attributes Name
procedure(animate_interface) :: animate_func
integer, intent(in) :: frames
integer, intent(in), optional :: interval
type(figure_t), intent(in), optional, target :: fig

Return Value type(animation_t)


Subroutines

public subroutine save_animation(anim, filename, fps, status)

Arguments

Type IntentOptional Attributes Name
type(animation_t), intent(inout) :: anim
character(len=*), intent(in) :: filename
integer, intent(in), optional :: fps
integer, intent(out), optional :: status