ManimCommunity / ManimCommunity/manim
scene.wait_upto
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
## Description of proposed feature
This feature will allow you to wait until the scene has run for a specific duration.
Lots of people overlay audio onto their videos and this will make it easier to sync audio and animation.
## How can the new feature be used?
```
# play animations
self.wait_upto(60)
# scene has run for 1 minute
# play more animations
self.wait_upto(90)
# another 30 seconds have passed
```
## Additional comments
I've been using it in my own projects and would be happy to implement it and submit a PR when if that's fine.
I just want to get a go-ahead and any comments about things I might not have thought of.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides no file or test entry point; start by locating the scene timing and existing wait behavior in the repository. Use the examples to confirm that the feature waits until the requested elapsed scene duration, then identify or add tests that demonstrate the 60- and 90-second cases before seeking maintainer guidance on the API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100