mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 05:24:22 +08:00
add tips for interactive mode
This commit is contained in:
@ -100,6 +100,8 @@ class Scene(object):
|
|||||||
# If there is a window, enter a loop
|
# If there is a window, enter a loop
|
||||||
# which updates the frame while under
|
# which updates the frame while under
|
||||||
# the hood calling the pyglet event loop
|
# the hood calling the pyglet event loop
|
||||||
|
print("Tips: You are now in the interactive mode. Now you can use the keyboard\
|
||||||
|
and the mouse to interact with the scene. Just press `q` if you want to quit.")
|
||||||
self.quit_interaction = False
|
self.quit_interaction = False
|
||||||
self.lock_static_mobject_data()
|
self.lock_static_mobject_data()
|
||||||
while not (self.window.is_closing or self.quit_interaction):
|
while not (self.window.is_closing or self.quit_interaction):
|
||||||
|
Reference in New Issue
Block a user