MCPcopy
hub / github.com/ManimCommunity/manim / construct

Method construct

tests/test_config.py:255–262  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

253
254 class SceneWithTwoAnimations(Scene):
255 def construct(self):
256 self.after_first_animation = False
257 s = Square()
258 self.add(s)
259 self.play(s.animate.scale(2))
260 self.renderer.update_skipping_status()
261 self.after_first_animation = True
262 self.play(s.animate.scale(2))
263
264 scene = SceneWithTwoAnimations()
265 scene.render()

Callers

nothing calls this directly

Calls 5

SquareClass · 0.90
addMethod · 0.45
playMethod · 0.45
scaleMethod · 0.45

Tested by

no test coverage detected