mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
Up to formal definition of linearity in EoLA chapter 3
This commit is contained in:
@ -314,7 +314,7 @@ class Mobject(object):
|
||||
start = color_to_rgb(mob.get_color())
|
||||
end = color_to_rgb(color)
|
||||
new_rgb = interpolate(start, end, alpha)
|
||||
mob.highlight(Color(rgb = new_rgb))
|
||||
mob.highlight(Color(rgb = new_rgb), family = False)
|
||||
return self
|
||||
|
||||
def fade(self, darkness = 0.5):
|
||||
|
Reference in New Issue
Block a user