Enjoy) Fixed an piston issue (2 outputs were sparked more often, than others)
random
filt
randomizer
Comments
-
@Self_Destruct In id:2057217 I outfitted Elite01's "True 60Hz Randomizer" with CLNE(SPRK) and obtained results suggesting that the probability of powers of two individually triggering is greater than that of multiple triggering. Hence the probabilities of each number being generated are unequal. SandwichLizard I believe succeeded in implementing a CLNE based randomizer with plot that worked quite well.
-
@Self_Destruct Indeed, it's not solid state.
-
I am dissapointed. My frozen lava randomizer is a tad bit smaller, and a bit more reliable. Thanks, game mechanics
-
@Self_Destruct Perhaps, but it may behave differently as each conductor in this dense configuration has the potential to be sparked by one of three adjacent CLNEs. I'd assume that the probabilities for sparking each of the 8 positions around each CLNE are equal. Each CLNE also has the potential to spark one of three conductors provided that it has not been sparked already. Hence I do not know the probability distribution of 1s and 0s for each bit.
-
@Schmolendevice PS: I really appreciate all your work and your excellent explanations of them as well. Thank you for your contribution to TPT!
-
I see. Excellent! So it's equally probable to output a 0 or 1 in that configuration, I assume?
-
@Self_Destruct It creates a particle of its ctype at a pseudorandom adjacent position with a pseudorandom chance of not creating something at all. A setup within id:1741431 demonstrates this.
-
@Schmolendevice Yeah, that's what I meant. I meant more "random," as a general term. I guess what happened in my brain didn't match up with what my fingers were doing. ;-) However, I do have a question about that. Does CLNE(SPRK) create a spark every frame?
-
@Self_Destruct Actually I was hoping that this could be made *more* pseudorandom as opposed to being inherently *periodic*. The sparking of CLNE(SPRK) is pseudorandom, which is to say it invokes some variation of "math.random()" in its code.
-
@ATernative This is not technically "solid-state," as that implies no moving parts.