Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Resolved a few merge conflicts

Grant Sandersoneabe989eda7d
diff --git a/scene/scene.py b/scene/scene.py
index fb4ba6cac..6f19ad588 100644
--- a/scene/scene.py
+++ b/scene/scene.py
@@ -32,8 +32,12 @@ class Scene(object):
"save_frames" : False,
"save_pngs" : False,
"pngs_mode" : "RGBA",
+<<<<<<< Updated upstream
"output_directory" : ANIMATIONS_DIR,
"movie_file_extension" : ".mp4",
+=======
+ "output_directory" : MOVIE_DIR,
+>>>>>>> Stashed changes
"name" : None,
"always_continually_update" : False,
"random_seed" : 0,
@@ -482,6 +486,8 @@ class Scene(object):
def preview(self):
TkSceneRoot(self)
+
+ def save_image(self, name = None, mode = "RGB", dont_update = False):
def get_image_file_path(self, name = None, dont_update = False):
folder = "images"
@@ -540,7 +546,6 @@ class Scene(object):
'-loglevel', 'error',
temp_file_path,
]
-
# self.writing_process = sp.Popen(command, stdin=sp.PIPE, shell=True)
self.writing_process = sp.Popen(command, stdin=sp.PIPE)
diff --git a/topics/geometry.py b/topics/geometry.py
index 0ef70f20c..bbbd12a57 100644
--- a/topics/geometry.py
+++ b/topics/geometry.py
@@ -172,18 +172,12 @@ class AnnularSector(VMobject):
arc_center = first_point - self.inner_radius * radial_unit_vector
return arc_center
-<<<<<<< HEAD
def move_arc_center_to(self,point):
v = point - self.get_arc_center()
self.shift(v)
return self
-
-
-=======
->>>>>>> master
class Sector(AnnularSector):
-
CONFIG = {
"outer_radius" : 1,
"inner_radius" : 0