12-22-2023, 10:53 PM
(12-22-2023, 10:32 PM)Tas_mania Wrote: Very cool Mr ofnuts.
The beauty of 'random' is you get a different result every time
I wish it were true... The plugin uses HSV noise but there is no access to the random seed in the API so you technically get the same pattern of pixels every time. I sort of hide this by randomly offsetting the layer (so the pattern is shifted) and shuffling the pattern layers. But I'm still trying to find a better solution.
Hmmm. But as I speak I have a solution, the pattern I need is very small (a pixel for each "tile") so instead of generating a tiny layer, I can generate a large layer of random pixels (always the same since I can't control Gimp seed) that I cut at random coordinates, this randomness coming from the Python side, where I can control the seed. Stay tuned
Otherwise, no difficulties to report?