Random Walker 2D

Demonstrates how to create a non-uniform distribution of random numbers using a combination of logical Data and Select nodes. In this composition the random walker has a 60 % chance of moving forward and a 52% chance of moving up. A trail is created using a blending node.

As a challenge, do you think it’s possible to simplify this composition further since it has some symmetry i.e. DRY (Don’t repeat yourself rule).

Thanks

random_walker.vuo (7.36 KB)

2 Likes

Nice use of recursion, I guess in two ways – feeding back the position and image feedback.

1 Like

Thanks @jersmi - only just seen your comment. Sorry for the late reply.