module ProceduralArt::Mineshift::Simple
Defined in:
generators/mineshift/simple.crConstant Summary
-
BLOCK_SPACING_SEED =
0.283673_f32
-
CENTER_MASK_DEVIATION_SEED =
0.834728_f32
-
COLORS =
[{bg: "#e2f1af", levels: ["#e3d888", "#84714f", "#5a3a31", "#31231e"]}, {bg: "#ddf3b5", levels: ["#83c923", "#74a31d", "#577a15", "#39510e"]}, {bg: "#ecfee8", levels: ["#c2efeb", "#6ea4bf", "#41337a", "#331e36"]}, {bg: "#f0f3bd", levels: ["#02c39a", "#00a896", "#028090", "#06668d"]}, {bg: "#ffcdB2", levels: ["#ffb4a2", "#e5989b", "#b5838d", "#6d6875"]}, {bg: "#6fffe9", levels: ["#5bc0be", "#3a506b", "#1c2541", "#0b132b"]}, {bg: "#d8dbe2", levels: ["#a9bcd0", "#58a4b0", "#373f51", "#1b1b1e"]}, {bg: "#f6aa1c", levels: ["#bc3908", "#941b0c", "#621708", "#220901"]}, {bg: "#e0fbfc", levels: ["#c2dfe3", "#9db4c0", "#5c6b73", "#253237"]}, {bg: "#9742a1", levels: ["#7c3085", "#611f69", "#4a154b", "#340f34"]}, {bg: "#c4fff9", levels: ["#9ceaef", "#68d8d6", "#3dccc7", "#07beb8"]}, {bg: "#ffffff", levels: ["#5bc0be", "#3a506b", "#1c2541", "#0b132b"]}, {bg: "#ff9b54", levels: ["#ff7f51", "#ce4257", "#720026", "#4f000b"]}, {bg: "#edeec9", levels: ["#dde7c7", "#bfd8bd", "#98c9a3", "#77bfa3"]}, {bg: "#b8f3ff", levels: ["#8ac6d0", "#63768d", "#554971", "#36213e"]}, {bg: "#f0ebd8", levels: ["#748cab", "#3e5c76", "#1d2d44", "#0d1321"]}, {bg: "#f9dbbd", levels: ["#ffa5ab", "#da627d", "#a53860", "#450920"]}, {bg: "#e09f7d", levels: ["#ef5d60", "#ec4067", "#a01a7d", "#311847"]}, {bg: "#53b3cb", levels: ["#f9c22e", "#f15946", "#e01a4f", "#0c090d"]}, {bg: "#fefcfb", levels: ["#1282a2", "#034078", "#001f54", "#0a1128"]}, {bg: "#e0d68a", levels: ["#cb9173", "#8e443d", "#511730", "#320a28"]}, {bg: "#f3c677", levels: ["#f9564f", "#b33f62", "#7b1e7a", "#0c0a3e"]}, {bg: "#efd9ce", levels: ["#dec0f1", "#b79ced", "#957fef", "#7161ef"]}, {bg: "#f0f465", levels: ["#9cec5b", "#50c5b7", "#6184db", "#533a71"]}, {bg: "#ad2831", levels: ["#800e13", "#640d14", "#38040e", "#250902"]}]
-
FRAME_COPIES =
2
-
FRAME_HEIGHT =
HEIGHT * FRAME_COPIES
-
HEIGHT =
1000
-
LEVEL_DATA =
{0 => {max_distance: ((WIDTH / 2) * LVL_SIZES[0]).to_i * 10, max_blocks: 4, block_size: ((WIDTH / 2) * LVL_SIZES[0]).to_i, deviation: 4}, 1 => {max_distance: ((WIDTH / 2) * LVL_SIZES[1]).to_i * 12, max_blocks: 3, block_size: ((WIDTH / 2) * LVL_SIZES[1]).to_i, deviation: 2}, 2 => {max_distance: ((WIDTH / 2) * LVL_SIZES[2]).to_i * 16, max_blocks: 3, block_size: ((WIDTH / 2) * LVL_SIZES[2]).to_i, deviation: 3}, 3 => {max_distance: ((WIDTH / 2) * LVL_SIZES[3]).to_i * 20, max_blocks: 7, block_size: ((WIDTH / 2) * LVL_SIZES[3]).to_i, deviation: 2}}
-
Data for the size of levels
-
LVL_SIZES =
{0 => 0.02, 1 => 0.04, 2 => 0.06, 3 => 0.08}
-
MAX_LEVELS =
4
-
WIDTH =
800
-
WINDOW_ASSET_SEED =
1.63_f32
-
WINDOW_SCALE_SEED =
2.3_f32