Random Walks in 3D from random number generator in python numpy 21 Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: A succession of random integer steps with 90 degree choices is made in 3 dimensions. It creates a discrete fractal and illustrates Markov chains in a nice and visual way.nnInterestingly, for dimensions d>2 the probability of returning to the starting position is not 1. In the 3d case it is about 0.3405…nnThe 10 million step version took about 200 seconds to calculate using a Python script. The speed of the script is very much dependant on the random number generator. Faster (but less truly ran
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)