Skip to content

random_color() and random_bright_color() should have a parameter random_seed #1671

Closed
@kolibril13

Description

@kolibril13

As it is always good to reproduce randomness, these two functions should have a parameter seed.
https://docs.manim.community/en/stable/_modules/manim/utils/color.html#random_color
Then it should be possible to just init that seed.
https://towardsdatascience.com/stop-using-numpy-random-seed-581a9972805f
EDIT: Second link does not apply here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdditions and improvements in generalgood first issueGood for newcomers

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions