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

Method construct

example_scenes/advanced_tex_fonts.py:29–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 """
28
29 def construct(self):
30 self.add(Tex("Tex Font Example").to_edge(UL))
31 self.play(Create(FrenchCursive("$f: A \\longrightarrow B$").shift(UP)))
32 self.play(Create(FrenchCursive("Behold! We can write math in French Cursive")))
33 self.wait(1)
34 self.play(
35 Create(
36 Tex(
37 "See more font templates at \\\\ http://jf.burnol.free.fr/showcase.html",
38 ).shift(2 * DOWN),
39 ),
40 )
41 self.wait(2)
42
43
44# Example 2, using a Template from the collection

Callers

nothing calls this directly

Calls 8

TexClass · 0.85
CreateClass · 0.85
FrenchCursiveFunction · 0.85
waitMethod · 0.80
addMethod · 0.45
to_edgeMethod · 0.45
playMethod · 0.45
shiftMethod · 0.45

Tested by

no test coverage detected