I am trying to create a midpoint displacement algorithm using generators
import random import matplotlib.pyplot as plt WIDTH = 300 OFFSET = .5 point1 = (0, 15) p