3D Random Walk Prototype

2018
Mathematical Exploration

Random walks are one of the bigger themes in mathematics with wide spread applications into various domains. The symmetric random walk in the 3rd dimension is the first dimension where it is transient. This means it will not return to its starting point with probability 1.

In this prototype the colour of the next generated cube adds the value one to their current RGB colour depending on the direction of their move (x, y, z adds +1 red, green or blue respectively). As the chosen random walk is symmetric, an ideal world would only show shades of gray as each direction is equally probable. However, reality might bring some deviations (and therefore colour) in the short run.

At the moment, only basic controls are implemented:
Press the “Spacebar” or “r” to restart the simulation (this also resets the view), “p” to pause.
Mouse click-drag to orbit around the center and scroll-wheel to zoom.
With a touchpad you can use click-drag to orbit and use the standard 2finger zoom.

summary

3D WebGL Prototpye for Random Walks
Tools: Unity