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

Method construct

example_scenes/basic.py:168–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166
167class LineJoints(Scene):
168 def construct(self):
169 t1 = Triangle()
170 t2 = Triangle(joint_type=LineJointType.ROUND)
171 t3 = Triangle(joint_type=LineJointType.BEVEL)
172
173 grp = VGroup(t1, t2, t3).arrange(RIGHT)
174 grp.set(width=config.frame_width - 1)
175
176 self.add(grp)
177
178
179# See many more examples at https://docs.manim.community/en/stable/examples.html

Callers

nothing calls this directly

Calls 5

TriangleClass · 0.85
VGroupClass · 0.85
arrangeMethod · 0.45
setMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected