Skip to content

Add “Save GIF” Button to Simulation Runner for Animated Export #799

@olekscode

Description

@olekscode

Currently, Cormas provides a “Save PNG” button in the simulation runner (see CMSpacePresenter >> saveToPng) that allows users to export a static image of the diagram canvas.

Image

It would be very useful to extend this functionality with the ability to export animated GIFs showing a simulation over multiple time steps. This would help users quickly visualize dynamic model behavior.

Ideas:

  • Implement an RSGIFExporter class, similar to RSPNGExporter which accepts a sequence of canvases or model states
  • Add a “Save GIF” button to the simulation runner toolbar. When first clicked it would start recording frames for the GIF. When clicked again, it would stop

@akevalion what do you think?

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions