Rachel Duim
![]() |
Loop Randomizer by Rachel Duim
http://filterforge.com/filters/16168.html ![]() Math meets art meets psychedelia. |
|
Posted: May 16, 2022 9:24 pm | ||
Rachel Duim
![]() |
For those of you who are wondering what this filter is about: this is a pseudorandom array of 30000 values (between 0 and 1) only using existing FF components taken from the Loop Randomizer slave. This could be looked at as a work around for the lack of a Random component with a Random group. Of course there are other ways to generate random numbers in FF (Perlin noise, noise curve, scripting), but this version directly uses a FF random value without intermediate steps like Lookup etc.
Math meets art meets psychedelia. |
|
Posted: May 16, 2022 9:34 pm | ||
SpaceRay
![]() |
Well, as far as I understand it this may be a snippet to give another possible way to make random input values for a component
It may be interesting but I think that maybe you can be so kind to show an example on how this can be used and why it may be better than other Options? I mean what useful benefits and good thing brings this filter against other ways? I admire that you can do things like this as I do not know much about randomization things in FF For example I have been struggling to find a possible way to feed random colors from a known color controls options, from gradients, or from Lookup table |
|
Posted: May 21, 2022 11:11 pm | ||
Rachel Duim
![]() |
Correct. Since there is no math component just for Random values, you can use the Random group from the snippet. It works just like any other component with Variation and it returns 30000 psuedorandom numbers between 0 and 1. The snippet also illustrates how to return a random number in a range by using the new Remap Range component.
Math meets art meets psychedelia. |
|
Posted: May 23, 2022 8:13 pm | ||
David Roberson |
Great snippet! Sadly, like other work-arounds, it only works for mappable inputs. How many times have we asked for gray input math functions? I'd have to do a bit of digging to find out why FF won't allow it, so it'll have to remain a rhetorical question. This does remind me I wanted to look into using get_noise() to achieve some randomization in certain scripts where part of the process depends on mapped inputs. I don't recall having much success replacing math.random() with get_noise() but I don't know if I really exhausted the possibilities there.
|
|
Posted: April 17, 2023 3:17 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+39 new in 30 days!
15,347 Topics
+72 new in year!
21 unregistered users.