def METHOD_NAME(frame_num, ax, path, obstacles, bounds, origin, rate, slices):
    ax.clear()
    plotObstacles(ax, obstacles, bounds)
    # Hold for 1 second at the beginning and end
    if frame_num < rate:
        configuration = path[0]
    elif frame_num >= len(path) + rate:
        configuration = path[-1]
    else:
        configuration = path[frame_num - rate]
    plotChain(ax, configuration, origin)