JuliaGraphics / ColorTypes.jl

Basic color definitions and traits
Other
78 stars 36 forks source link

Passing `AbstractRNG` to `rand` #284

Open theogf opened 2 years ago

theogf commented 2 years ago

Right now it's not possible to pass a random number generator to rand(::Type{Colorant}). Would you be open to a PR fixing this reproducibility issue by adding rand(::AbstractRNG, ::Type{Colorant}) and co?

theogf commented 1 year ago

@johnnychen94 I think this is already fixed in the dev version of 0.12, would it be possible to get a release?

johnnychen94 commented 1 year ago

v0.12 seems not finished according to @kimikage's plan, it would be great to have some new love to finish it

I get too busy these days to contribute; really sorry about that.

kimikage commented 5 months ago

It could be backported to v0.11. cf. #299