ManimCommunity / ManimCommunity/manim

scene.wait_upto

Open
#2,852 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.