-
(Regarding a source code question): I would like to know how Cairo exports images within Manim.I know that the image is initially generated based on self.camera.pixel_array, but I am unsure where self.camera.pixel_array gets updated after rendering with Cairo. When does the self.camera.pixel_array get updated with the rendered image when using Cairo for rendering? Below are some locations where I've found the setting of pixel_array, however, I'm still unable to find how self.camera.pixel_array gets updated with the next frame during the rendering process. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
See Line 633 in 77d42d2 |
Beta Was this translation helpful? Give feedback.
-
When performing various Cairo drawing operations, the data in the pixel_array will also be updated, as they share this data. |
Beta Was this translation helpful? Give feedback.
See
manim/manim/camera/camera.py
Line 633 in 77d42d2