Python, Matplotlib, Animation, Statistics, Code.
steps in 2D step_shape = (step_n,dims) steps = np.random.choice(a=step_set, size=step_shape) path = np.concatenate([origin, steps]).cumsum(0) My code will form a list of steps with 1 left move(-1) and 4 right move(4). Hence, now the path drift will be significantly towards right because of the