Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed old snow scene

Grant Sanderson2e25c4c0a306
diff --git a/old_projects/mug.py b/old_projects/mug.py
index a749ee916..55b2ca267 100644
--- a/old_projects/mug.py
+++ b/old_projects/mug.py
@@ -41,8 +41,9 @@ class HappyHolidays(TeacherStudentsScene):
hat.flip()
vect = LEFT
hat.set_fill(RED_D)
- hat[0].remove(hat[0][1])
- hat[0].set_fill("#EEE")
+ hat.set_stroke(width=0)
+ hat[0].points = hat[0].points[8 * 4:]
+ hat[0].set_fill("#DDDDDD")
hat[2].set_fill(WHITE)
hat.add(hat[0])
hat.next_to(pi.body, UP, buff = SMALL_BUFF)