Skip to content

Support visualisation rate limiting for stepsPerSecond < 1 #123

Description

@ptheywood

modelcfg.stepsPerSecond is an unsigned integer currently, so it is not possible to have a visualisation with fewer than 1 simulation step per second.

Alternatively, exposing a new method in the FLAMEGPU/vis interface to set step_ms directly as a flaoting point value rather than as 1000/stepsPerSecond might be helpful in some use-cases.

i.e. something like:

ModelVis::setSimulationDelay(float seconds);

These would need to conflict with one another however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions