From 6897ea033f0b6dc3155e90511cdcb528ed038137 Mon Sep 17 00:00:00 2001 From: JasonGrace2282 Date: Wed, 14 Aug 2024 12:41:32 -0400 Subject: [PATCH] docs --- manim/scene/scene.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/manim/scene/scene.py b/manim/scene/scene.py index dfb4a3c156..10b40ac4a6 100644 --- a/manim/scene/scene.py +++ b/manim/scene/scene.py @@ -97,6 +97,15 @@ class MyScene(Scene): def construct(self): self.play(Write(Text("Hello World!"))) + You can specify the seed for random functions inside Manim via :attr:`Scene.random_seed`. + + .. code-block:: python + + class MyScene(Scene): + random_seed = 3 + + def construct(self): ... + """ random_seed: int | None = None