def interpolate(x1, y1, x2, y2, current_step, total_steps):
    """Interpolates between two 2d points.

    Args:
        x1, y1, x2, y2: coords representing the two 2d points
        current_step, total_steps: ints representing the current progress (example 2, 10 represents 20%)
    Returns:
        2-float tuple representing a 2d point
    """
    dx1, dy1 = (x2 - x1) / total_steps, (y2 - y1) / total_steps
    mx1, my1 = x1 + dx1 * current_step, y1 + dy1 * current_step
    return mx1, my1