mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-29 10:02:11 +00:00
20 lines
562 B
ReStructuredText
20 lines
562 B
ReStructuredText
Camera Settings
|
|
=================================
|
|
|
|
.. manim:: TestZoom1
|
|
:quality: medium
|
|
:save_last_frame:
|
|
|
|
class TestZoom1(ZoomedScene):
|
|
CONFIG = {
|
|
"zoomed_camera_frame_starting_position": [0,0,0],
|
|
"zoomed_display_corner": [0,0,0],
|
|
"zoomed_display_height": config['frame_height'],
|
|
"zoomed_display_width": config['frame_width'],
|
|
"zoom_factor": 0.1,
|
|
}
|
|
def construct(self):
|
|
self.activate_zooming(animate=False)
|
|
d=Dot()
|
|
self.add(d)
|
|
|