From 217198d240405ad079c6a4d145c8be503ca44824 Mon Sep 17 00:00:00 2001 From: Marcelo Arias Date: Tue, 20 Aug 2024 23:02:42 -0500 Subject: [PATCH] Adjust GenScene to integrate `SceneFileWriter.force_output_as_scene_name = True` --- GenScene.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GenScene.py b/GenScene.py index 4b899f2..cba697c 100644 --- a/GenScene.py +++ b/GenScene.py @@ -4,6 +4,10 @@ from manim import * from math import * +# Force the output to be the scene name to guarantee uniqueness: https://github.com/360macky/generative-manim/issues/23 +SceneFileWriter.force_output_as_scene_name = True + class GenScene(Scene): def construct(self): - pass + c = Circle(color=BLUE) + self.play(Create(c))