Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGrace2282 committed Aug 14, 2024
1 parent c4d6788 commit 6897ea0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions manim/scene/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6897ea0

Please sign in to comment.