Update app.py
Browse files
app.py
CHANGED
|
@@ -71,11 +71,11 @@ def create_manim_script(problem_data, script_path):
|
|
| 71 |
"background_color": "#0f0f23",
|
| 72 |
"text_color": "WHITE",
|
| 73 |
"highlight_color": "YELLOW",
|
| 74 |
-
"font": "
|
| 75 |
"text_size": 36,
|
| 76 |
"equation_size": 42,
|
| 77 |
"title_size": 48,
|
| 78 |
-
"wrap_width":
|
| 79 |
})
|
| 80 |
|
| 81 |
slides = problem_data.get("slides", [])
|
|
|
|
| 71 |
"background_color": "#0f0f23",
|
| 72 |
"text_color": "WHITE",
|
| 73 |
"highlight_color": "YELLOW",
|
| 74 |
+
"font": "",
|
| 75 |
"text_size": 36,
|
| 76 |
"equation_size": 42,
|
| 77 |
"title_size": 48,
|
| 78 |
+
"wrap_width": 18.0 # in scene width units; adjust to taste
|
| 79 |
})
|
| 80 |
|
| 81 |
slides = problem_data.get("slides", [])
|