import math


def lengthdir(length: float, angle: float) -> tuple:
    """Returns a point at given angle and offset."""
    r = math.radians(angle)
    return math.cos(r) * length, math.sin(r) * length