diff options
author | vishal786-commits | 2020-07-09 08:40:34 +0530 |
---|---|---|
committer | GitHub | 2020-07-09 08:40:34 +0530 |
commit | 6984c84d6f9e2cc49aa1b85ffb07ef98c0ac57e9 (patch) | |
tree | 5ab477ea962f5fe6309b56492a9492fde944bc48 | |
parent | d44656dc8fdd348e4bd482c8db0473fb2651b71a (diff) | |
download | FSF-mathematics-python-code-archive-6984c84d6f9e2cc49aa1b85ffb07ef98c0ac57e9.tar.gz FSF-mathematics-python-code-archive-6984c84d6f9e2cc49aa1b85ffb07ef98c0ac57e9.tar.bz2 FSF-mathematics-python-code-archive-6984c84d6f9e2cc49aa1b85ffb07ef98c0ac57e9.zip |
Delete file2_mobius_strip.py
-rw-r--r-- | FSF-2020/calculus-of-several-variables/triple-and-surface-integrals/flux/file2_mobius_strip.py | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/FSF-2020/calculus-of-several-variables/triple-and-surface-integrals/flux/file2_mobius_strip.py b/FSF-2020/calculus-of-several-variables/triple-and-surface-integrals/flux/file2_mobius_strip.py deleted file mode 100644 index 31b1990..0000000 --- a/FSF-2020/calculus-of-several-variables/triple-and-surface-integrals/flux/file2_mobius_strip.py +++ /dev/null @@ -1,81 +0,0 @@ -from manimlib.imports import * - -class Mobius(ThreeDScene): - def construct(self): - axes=ThreeDAxes() - - - - R=2.5 - - - mobius = ParametricSurface( - lambda u, v: np.array([ - (R+u*np.cos(v/2))*np.cos(v), - (R+u*np.cos(v/2))*np.sin( v), - u*np.sin(v/2) - ]), - u_min = -0.5, u_max = 0.5, v_min = 0, v_max = 2*PI, - - resolution=(6, 32)).fade(0.5) #Resolution of the surfaces - circle=Circle(radius=2.5, color=BLUE) - - - - mobius.rotate(PI/2, axis=RIGHT) - mobius.rotate(PI/2, axis=OUT) - # # mobius.shift(RIGHT+OUT+DOWN) - - - - - - along = ParametricSurface( - lambda u, v: np.array([ - (R+u*np.cos(v/2))*np.cos(v), - (R+u*np.cos(v/2))*np.sin(v), - 0 - ]), - u_min = -0.5, u_max = 0.5, v_min = 0, v_max = 2*PI, - - resolution=(6, 32)).fade(0.5) #Resolution of the surfaces - circle=Circle(radius=2.5, color=BLUE) - - - - - - - - - - - - - - - - - - - - - - - - self.set_camera_orientation(phi=75 * DEGREES,theta=-75*DEGREES) - - self.play(Write(mobius)) - - self.wait(1) - self.begin_ambient_camera_rotation(rate=0.65) - - self.wait(10) - self.stop_ambient_camera_rotation() - self.wait(1) - - - - - - |