def coast_params(
    coast_freq=("uniform", 0.00005, 0.00015),
    beach_size=("uniform", 50, 100),
    beach_slope=("uniform", 0.07, 0.12),
    steep_slope_size=("uniform", 5, 10),
    sea_depth=("uniform", 8, 12),
    raw=False,
):
    """_summary_

    coast_freq: base frequency of coast line
    beach_size: size of beach
    beach_slope: slope of beach
    steep_slope_size: size of the steep part between beach and sea floor
    sea_depth: sea depth
    """
    if raw:
        d = {
            "coast_freq": coast_freq,
            "beach_size": beach_size,
            "beach_slope": beach_slope,
            "steep_slope_size": steep_slope_size,
            "sea_depth": sea_depth,
        }
        return {x: list(d[x]) if type(d[x]) is tuple else d[x] for x in d}
    global coast_params_
    if coast_params_ == {}:
        coast_params_ = {
            "coast_freq": rg(coast_freq),
            "beach_size": rg(beach_size),
            "beach_slope": rg(beach_slope),
            "steep_slope_size": rg(steep_slope_size),
            "sea_depth": rg(sea_depth),
        }
    return coast_params_
_summary_

    coast_freq: base frequency of coast line
    beach_size: size of beach
    beach_slope: slope of beach
    steep_slope_size: size of the steep part between beach and sea floor
    sea_depth: sea depth
    
infinigen/terrain/assets/landtiles/custom.py