code: def random_walk(num_steps, max_step=0.05):
      """Return a 3D random walk as (num_steps, 3) array."""
      start_pos = np.random.random(3)
      steps = np.random.uniform(
          -max_step, max_step, size=(num_steps, 3)
      )
      walk = start_pos + np.cumsum(steps, axis=0)
      return walk
  
imports: import matplotlib.pyplot
  import numpy
  import matplotlib.animation
label_desc: Use image node_id 1 for calling a global function with example usage: random_walk(num_steps, max_step) and returns: walk