import { getSkyScraper } from '../getSkyScraper';
import { getSpotlight } from '../getSpotlight';
import { pop3 } from '../utils/pop3';
import { rsd } from '../utils/randomSeed';
const circularDist = {
    areaSize: 180,
    prefabId: ['cube_01'],
    spaceSize: 10,
    spaceSizeDiff: 5,
    gapFreq: 0,
    boundaryMin: 0.75,
};
const mediumDist = {
    spaceSize: 20,
    spaceSizeDiff: 10,
    itemScaleDiff: pop3(3),
    boundaryMin: 0,
    prefabId: 'cube_01',
};
const sparseDist = {
    spaceSize: 30,
    spaceSizeDiff: 10,
    itemScaleDiff: pop3(3),
    boundaryMin: 0,
    prefabId: 'cube_01',
};
const rocks = {
    spaceSize: 9,
    spaceSizeDiff: 11,
    prefabId: ['rock_01_t3', 'rock_01_t1'],
    tiltiness: 0.2,
    boundaryMin: 0.1,
    itemScale: pop3(1),
    itemScaleDiff: pop3(3),
    p: [0, -0.3, 0],
};
const foliagesBig = {
    spaceSize: 10,
    spaceSizeDiff: 5,
    prefabId: ['en_p_jungle_bush_cluster', 'en_p_jungle_grass_01'],
    tiltiness: 0.1,
    boundaryMin: 0.09,
    itemScale: pop3(1.5),
    itemScaleDiff: pop3(1),
    p: [0, -1.0, 0],
};
const candyForest = {
    spaceSize: 5,
    spaceSizeDiff: 5,
    prefabId: ['lollipop_03', 'lollipop_01', 'lollipop_02', 'marshmallow_pillar_01'],
    tiltiness: 0.1,
    itemScale: pop3(2),
    itemScaleDiff: pop3(5),
    randomRotation: true,
    boundaryMin: 0.05,
};
const mountainRange = {
    ...circularDist,
    itemScale: pop3(0.4),
    itemScaleDiff: pop3(0.5),
    tiltiness: 0.3,
    prefabId: ['mountain_01'],
};
const mountainRangeLow = {
    ...mountainRange,
    spaceSize: 15,
    spaceSizeDiff: 2,
    tiltiness: 0.1,
    itemScale: [0.2, 0.2, 0.1],
    itemScaleDiff: [0.1, 0.3, 0.1],
};
const trees = {
    prefabId: ['jungle_tree_small'],
    tiltiness: 0.05,
    boundaryMin: 0.09,
    itemScale: pop3(1.5),
    itemScaleDiff: pop3(2),
    p: [0, -1.0, 0],
    gapFreq: 0.5,
    gapSizeDiff: 2,
};
const cliffDesert = {
    prefabId: ['cliff_02_02'],
    spaceSize: 25,
    spaceSizeDiff: 20,
    boundaryMin: 0.4,
    gapSize: 10,
    gapFreq: 0.6,
    p: [0, -1, 0],
    r: [0, -10, 0],
    itemScale: pop3(1.1),
    itemScaleDiff: pop3(2),
};
const palmTree = {
    ...trees,
    prefabId: ['palm_tree', 'palm_tree', 'palm_tree', 'palm_tree_2'],
    tiltiness: 0.1,
    itemScale: pop3(2),
    itemScaleDiff: pop3(5),
};
const grid = {
    prefabId: ['rounded_cube_01'],
    material: ['palette_01_red', 'palette_01_yellow', 'palette_01_green', 'palette_01_blue'],
    spaceSize: 10,
    spaceSizeDiff: 0,
    boundaryMin: 0,
    boundaryMax: 2,
    gapFreq: 0,
    itemScale: pop3(4),
    itemScaleDiff: pop3(0),
    randomRotation: false,
    p: [0, -7, 0],
};
const city = {
    areaSize: 220,
    spaceSize: 40,
    spaceSizeDiff: 0,
    randomRotation: false,
    boundaryMin: 0.3,
    onEach: (props) => {
        return getSkyScraper({ p: props.p, s: pop3(rsd(props.seed).range(0.65, 0.75)) });
    },
};
const pointLights = {
    ...mediumDist,
    ...{
        p: [0, 4, 0],
        onEach: (props) => {
            return getSpotlight({ strength: 10, p: props.p });
        },
    },
};
export const SCAPE_PRESETS = {
    mediumDist,
    sparseDist,
    circularDist,
    city,
    pointLights,
    rocks,
    foliagesBig,
    candyForest,
    mountainRange,
    mountainRangeLow,
    trees,
    palmTree,
    cliffDesert,
    grid,
};
//# sourceMappingURL=SCAPE_PRESETS.js.map