Feature request #12482
Add random function with seed to expressions
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||20630|
When using data defined values, it's hard to use the rand() function, because a new random number is generated all the time.
A symbol with this as polygon fill color:
will be changing color at each redraw, making the map look like a disco party (not saying it's not nice ;) ).
Why not add another random function where one could specify a seed, so that the random number is always the same. Typically, one would use the feature's ID as the seed.
This way, the random color would always be the same, hopefully even across different setups.