Support classless construct
Author: GniLudioCreated Aug 12, 2026Updated Aug 12, 2026
Labelsnew feature
Description of proposed feature
It would be nice if the manim commands supports construct functions with a surrounding class, similar to how the manimator does it on discord.
from manim import *
def construct(self: Scene) -> None:
self.add(Circle())How can the new feature be used?
- Makes it easier to set up small scenes.
- Makes it easier to use snippets that were shared on discord.
Additional comments
The manimator also supports omitting the
from manim import *but I haven't decided on whether I would like to see support of that too.
Source: ManimCommunity/manim