Limit cloud colors to lower 30% of color values
This commit is contained in:
1 parent
23d1699236
commit
342886c6aa
1 file changed
+17
-17
+17
-17
@@ -370,19 +370,19 @@ var effect = (VANTA.CLOUDS2 || VANTA.CLOUDS)({
|
||||
var CYCLE = 20000;
|
||||
|
||||
var palette = [
|
||||
{ t: 0.00, sky: 0x0a0a18, cloud: 0x030302, light: 0x999187, bg: 0x050510, cloudShadow: 0x100f12, sun: 0x999187, sunGlare: 0x6d6a63, sunLight: 0x999187, sunVis: 0 },
|
||||
{ t: 0.08, sky: 0x2a1838, cloud: 0x030302, light: 0x999187, bg: 0x14101a, cloudShadow: 0x141316, sun: 0x999187, sunGlare: 0x6d6a63, sunLight: 0x999187, sunVis: 0 },
|
||||
{ t: 0.18, sky: 0x6a3a3a, cloud: 0x060403, light: 0xa85f1d, bg: 0x4a2820, cloudShadow: 0x1f1814, sun: 0xc56a2b, sunGlare: 0xa85f1d, sunLight: 0xc56a2b, sunVis: 0.3 },
|
||||
{ t: 0.28, sky: 0x9a5040, cloud: 0x070504, light: 0xd6824a, bg: 0x7a4530, cloudShadow: 0x2a1f17, sun: 0xe0914f, sunGlare: 0xd6824a, sunLight: 0xe0914f, sunVis: 0.8 },
|
||||
{ t: 0.42, sky: 0x5a8ac8, cloud: 0x090808, light: 0xe0d4be, bg: 0x506080, cloudShadow: 0x3a4458, sun: 0xf3ede1, sunGlare: 0xe6dfd1, sunLight: 0xf3ede1, sunVis: 1 },
|
||||
{ t: 0.62, sky: 0x4a7ab8, cloud: 0x090808, light: 0xe6dfd1, bg: 0x445878, cloudShadow: 0x2a3450, sun: 0xf3ede1, sunGlare: 0xe6dfd1, sunLight: 0xf3ede1, sunVis: 1 },
|
||||
{ t: 0.66, sky: 0x7a6a85, cloud: 0x090706, light: 0xe6c89a, bg: 0x5a554e, cloudShadow: 0x3a3428, sun: 0xe6c89a, sunGlare: 0xd6b46a, sunLight: 0xe6c89a, sunVis: 0.95 },
|
||||
{ t: 0.69, sky: 0x9a5040, cloud: 0x090604, light: 0xe6a872, bg: 0x7a5540, cloudShadow: 0x4a3025, sun: 0xe6a872, sunGlare: 0xd6824a, sunLight: 0xe6a872, sunVis: 0.85 },
|
||||
{ t: 0.72, sky: 0xaa3838, cloud: 0x090504, light: 0xe0914f, bg: 0x7a3825, cloudShadow: 0x4a2818, sun: 0xe0914f, sunGlare: 0xa86030, sunLight: 0xe0914f, sunVis: 0.7 },
|
||||
{ t: 0.78, sky: 0x6a2848, cloud: 0x060403, light: 0xa86030, bg: 0x5a2820, cloudShadow: 0x2a1818, sun: 0xa86030, sunGlare: 0x6b4423, sunLight: 0xa86030, sunVis: 0.4 },
|
||||
{ t: 0.85, sky: 0x3a1838, cloud: 0x040303, light: 0x6a4030, bg: 0x2a1820, cloudShadow: 0x1f1814, sun: 0x6a4030, sunGlare: 0x54514f, sunLight: 0x6a4030, sunVis: 0.1 },
|
||||
{ t: 0.92, sky: 0x1a1828, cloud: 0x030302, light: 0x999187, bg: 0x14101a, cloudShadow: 0x141316, sun: 0x999187, sunGlare: 0x6d6a63, sunLight: 0x999187, sunVis: 0 },
|
||||
{ t: 1.00, sky: 0x0a0a18, cloud: 0x030302, light: 0x999187, bg: 0x050510, cloudShadow: 0x100f12, sun: 0x999187, sunGlare: 0x6d6a63, sunLight: 0x999187, sunVis: 0 }
|
||||
{ t: 0.00, sky: 0x0a0a18, cloud: 0x090907, light: 0x999187, bg: 0x050510, cloudShadow: 0x100f12, sun: 0x999187, sunGlare: 0x6d6a63, sunLight: 0x999187, sunVis: 0 },
|
||||
{ t: 0.08, sky: 0x2a1838, cloud: 0x090907, light: 0x999187, bg: 0x14101a, cloudShadow: 0x141316, sun: 0x999187, sunGlare: 0x6d6a63, sunLight: 0x999187, sunVis: 0 },
|
||||
{ t: 0.18, sky: 0x6a3a3a, cloud: 0x0e0b07, light: 0xa85f1d, bg: 0x4a2820, cloudShadow: 0x1f1814, sun: 0xc56a2b, sunGlare: 0xa85f1d, sunLight: 0xc56a2b, sunVis: 0.3 },
|
||||
{ t: 0.28, sky: 0x9a5040, cloud: 0x110c08, light: 0xd6824a, bg: 0x7a4530, cloudShadow: 0x2a1f17, sun: 0xe0914f, sunGlare: 0xd6824a, sunLight: 0xe0914f, sunVis: 0.8 },
|
||||
{ t: 0.42, sky: 0x5a8ac8, cloud: 0x111111, light: 0xe0d4be, bg: 0x506080, cloudShadow: 0x3a4458, sun: 0xf3ede1, sunGlare: 0xe6dfd1, sunLight: 0xf3ede1, sunVis: 1 },
|
||||
{ t: 0.62, sky: 0x4a7ab8, cloud: 0x111111, light: 0xe6dfd1, bg: 0x445878, cloudShadow: 0x2a3450, sun: 0xf3ede1, sunGlare: 0xe6dfd1, sunLight: 0xf3ede1, sunVis: 1 },
|
||||
{ t: 0.66, sky: 0x7a6a85, cloud: 0x111111, light: 0xe6c89a, bg: 0x5a554e, cloudShadow: 0x3a3428, sun: 0xe6c89a, sunGlare: 0xd6b46a, sunLight: 0xe6c89a, sunVis: 0.95 },
|
||||
{ t: 0.69, sky: 0x9a5040, cloud: 0x110c09, light: 0xe6a872, bg: 0x7a5540, cloudShadow: 0x4a3025, sun: 0xe6a872, sunGlare: 0xd6824a, sunLight: 0xe6a872, sunVis: 0.85 },
|
||||
{ t: 0.72, sky: 0xaa3838, cloud: 0x110c08, light: 0xe0914f, bg: 0x7a3825, cloudShadow: 0x4a2818, sun: 0xe0914f, sunGlare: 0xa86030, sunLight: 0xe0914f, sunVis: 0.7 },
|
||||
{ t: 0.78, sky: 0x6a2848, cloud: 0x0e0705, light: 0xa86030, bg: 0x5a2820, cloudShadow: 0x2a1818, sun: 0xa86030, sunGlare: 0x6b4423, sunLight: 0xa86030, sunVis: 0.4 },
|
||||
{ t: 0.85, sky: 0x3a1838, cloud: 0x0a0707, light: 0x6a4030, bg: 0x2a1820, cloudShadow: 0x1f1814, sun: 0x6a4030, sunGlare: 0x54514f, sunLight: 0x6a4030, sunVis: 0.1 },
|
||||
{ t: 0.92, sky: 0x1a1828, cloud: 0x090907, light: 0x999187, bg: 0x14101a, cloudShadow: 0x141316, sun: 0x999187, sunGlare: 0x6d6a63, sunLight: 0x999187, sunVis: 0 },
|
||||
{ t: 1.00, sky: 0x0a0a18, cloud: 0x090907, light: 0x999187, bg: 0x050510, cloudShadow: 0x100f12, sun: 0x999187, sunGlare: 0x6d6a63, sunLight: 0x999187, sunVis: 0 }
|
||||
];
|
||||
|
||||
function getColor(t) {
|
||||
@@ -814,28 +814,28 @@ var effect = (VANTA.CLOUDS2 || VANTA.CLOUDS)({
|
||||
var weatherThemes = {
|
||||
sunny: {
|
||||
skyColor: 0x5a8ac8,
|
||||
cloudColor: 0x0e0e0e,
|
||||
cloudColor: 0x1a1a1a,
|
||||
lightColor: 0xf3ede1,
|
||||
backgroundColor: 0x54514f,
|
||||
speed: 1.0
|
||||
},
|
||||
cloudy: {
|
||||
skyColor: 0x6a7488,
|
||||
cloudColor: 0x0c0c0c,
|
||||
cloudColor: 0x171717,
|
||||
lightColor: 0xe6dfd1,
|
||||
backgroundColor: 0x3a383d,
|
||||
speed: 1.2
|
||||
},
|
||||
stormy: {
|
||||
skyColor: 0x3a3848,
|
||||
cloudColor: 0x040405,
|
||||
cloudColor: 0x0c0c0c,
|
||||
lightColor: 0x999187,
|
||||
backgroundColor: 0x100f12,
|
||||
speed: 2.5
|
||||
},
|
||||
night: {
|
||||
skyColor: 0x0a0a18,
|
||||
cloudColor: 0x030303,
|
||||
cloudColor: 0x070707,
|
||||
lightColor: 0xb0a89a,
|
||||
backgroundColor: 0x050510,
|
||||
speed: 0.4
|
||||
|
||||
Reference in new issue
Block a user