ImplicitCAD icon indicating copy to clipboard operation
ImplicitCAD copied to clipboard

Random Number Generator

Open deckar01 opened this issue 6 years ago • 2 comments

The rands(min, max, count) RNG function does not currently seem to be supported. It would be nice if there was a shortcut for generating a single value also rand(min, max).

deckar01 avatar Jul 29 '18 19:07 deckar01

I will probably work around this by hard coding a pool of random number for now, but I will try to learn more about Haskell and work towards a PR. Thanks for making such an awesome modeling engine.

deckar01 avatar Jul 30 '18 02:07 deckar01

I would also love this, I want to do procedural modeling of organic structures.

I am clueless when it comes to Haskell, but if the maintainer/s have time I would very deeply appreciate it! API doesn't need to match that of OpenSCAD for my purposes, anything would work.

Thanks everyone for all your hard work, very valuable.

wbrickner avatar Jun 08 '20 06:06 wbrickner

@julialongtin Should this be closed now that rands is merged?

lepsa avatar Oct 09 '22 06:10 lepsa

@lepsa yep! this will be in our next release, folks!

julialongtin avatar Oct 09 '22 10:10 julialongtin