Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ManimCommunity/manim
/ apply_function
Function
apply_function
tests/test_graphical_units/test_transform.py:99–104 ·
view source on GitHub ↗
(mob)
Source
from the content-addressed store, hash-verified
97
scene.add(square)
98
99
def
apply_function(mob):
100
mob.scale(2)
101
mob.to_corner(UR)
102
mob.rotate(PI / 4)
103
mob.set_color(RED)
104
return
mob
105
106
scene.play(ApplyFunction(apply_function, square))
107
Callers
nothing calls this directly
Calls
4
scale
Method · 0.45
to_corner
Method · 0.45
rotate
Method · 0.45
set_color
Method · 0.45
Tested by
no test coverage detected