def polyhedron(shape, vertices, position=0.5, smoothing=False):
    """
    Render a simple polyhedron.

    Args:
        shape (int|Sequence[int]): The shape of the container in px.
        vertices (Sequence[Sequence[float]): Coordinates of the vertices in px.
        position (float|Sequence[float]): The position of the center.
            Values are relative to the lowest edge.
            They are interpreted as relative to the shape.
        smoothing (bool|int|float|None): The smoothing of the border.
            If None or False, no smoothing is performed and the data type of
            the result is bool.
            If int or float, smooths the border transition and the data type of
            the result is float.
            When the value is equal to 1 or True, the smoothing emulate
            the spatial anti-aliasing.

    Returns:
        rendered (np.ndarray[bool|float]): The rendered geometrical object.
            The data type depends on the value and type of smoothing.
    """
    raise NotImplementedError
