Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Small thumbnail change

Grant Sanderson8c2801723929
diff --git a/active_projects/spirals.py b/active_projects/spirals.py
index 758f02dc7..0c67611db 100644
--- a/active_projects/spirals.py
+++ b/active_projects/spirals.py
@@ -4912,13 +4912,18 @@ class Thumbnail(SpiralScene):
dots.set_fill([TEAL_E, TEAL_A])
dots.set_stroke(BLACK, 1)
- label = VGroup(
- TextMobject("$(p, p)$ for all primes $p$, in polar"),
+ label = TextMobject(
+ "($p$, $p$) for all primes $p$,\\\\",
+ "in polar coordinates",
+ tex_to_color_map={
+ "$p$": YELLOW,
+ },
)
+
label.scale(2)
label.set_stroke(BLACK, 10, background=True)
- label.add_background_rectangle()
- label.to_corner(DL)
+ label.add_background_rectangle_to_submobjects()
+ label.to_corner(DL, MED_LARGE_BUFF)
self.add(dots)
self.add(label)