Skip to content

Instantly share code, notes, and snippets.

View OldBlueEyes95's full-sized avatar

OldBlueEyes95

View GitHub Profile
@abul4fia
abul4fia / fixed_fixing.py
Created June 20, 2023 07:32
How to fix objects and transforms in a manim 3D scene
# Context:
#
# Although ThreeDScene has the method `self.add_fixed_in_frame_mobjects()`
# it doesnt work as expected if you want to have transforms that happen
# in the frame coordinates, instead of in 3D coordinates
#
# See https://discord.com/channels/581738731934056449/1120217688728424549/1120217688728424549
#
# This fix fixes the fixed objects in a different way that works under transforms