ManimCommunity / ManimCommunity/manim
Experimental: Simulation Box for smoothly Integrating non-timed simulations and timed simulations without interrupting animation flow
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
I thought a bit about how Simulations could be integrated in a useful way. We currently have the updater system, which has been heavily discussed according to it's usefulness and implementation.
One thing we might add in order to help separate the concerns for Simulations that are animated is something like a SimulationBox which might be a class which has a step function and can be used with `self.play` but by creating a specified amount of time for the Animation something like `sbox.simulate(dt=4)` which might help to do more freeform animations in a scoped environment. I am not sure how well this would integrate in to the current State of the library but it would be worth a thought in terms of experimental.
Contributor guide
Research direction
Start by reviewing the existing updater system and how self.play handles animation flow. Compare the proposed SimulationBox step function with simulate(dt=4), focusing on how timed and non-timed simulations would interact. Done would require an agreed design and a defined integration path, which the issue does not yet specify.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100