Improved the classic palette.

This commit is contained in:
Rezmason
2020-06-24 03:43:37 -07:00
parent b50a39feb5
commit f065b32fe3
2 changed files with 7 additions and 18 deletions

View File

@@ -1,5 +1,8 @@
TODO:
Maybe apply a further additive blend on top of the color-mapped bloom
That could help add whatever's missing visually to the raindrops
Deja vu effect: flashing rows
Make them flash all the time
Then use a thunder-like pattern to show and hide the flash

View File

@@ -18,7 +18,6 @@ const fonts = {
const defaults = {
animationSpeed: 1,
bloomRadius: 0.5,
bloomStrength: 1,
bloomSize: 0.5,
highPassThreshold: 0.3,
@@ -41,23 +40,10 @@ const defaults = {
rippleSpeed: 0.2,
numColumns: 80,
paletteEntries: [
{ rgb: [0.0, 0.0, 0.0], at: 0.0 },
{ rgb: [0.023, 0.062, 0.031], at: 0.0625 },
{ rgb: [0.043, 0.109, 0.058], at: 0.125 },
{ rgb: [0.066, 0.16, 0.09], at: 0.1875 },
{ rgb: [0.078, 0.227, 0.121], at: 0.25 },
{ rgb: [0.09, 0.329, 0.152], at: 0.3125 },
{ rgb: [0.117, 0.443, 0.188], at: 0.375 },
{ rgb: [0.168, 0.556, 0.235], at: 0.4375 },
{ rgb: [0.223, 0.627, 0.282], at: 0.5 },
{ rgb: [0.274, 0.686, 0.317], at: 0.5625 },
{ rgb: [0.294, 0.733, 0.333], at: 0.625 },
{ rgb: [0.305, 0.768, 0.356], at: 0.6875 },
{ rgb: [0.325, 0.796, 0.4], at: 0.75 },
{ rgb: [0.36, 0.831, 0.447], at: 0.8125 },
{ rgb: [0.427, 0.874, 0.509], at: 0.875 },
{ rgb: [0.505, 0.909, 0.58], at: 0.9375 },
{ rgb: [0.549, 0.921, 0.615], at: 1.0 }
{ rgb: [0.00, 0.00, 0.00], at: 0.00 },
{ rgb: [0.09, 0.33, 0.04], at: 0.25 },
{ rgb: [0.39, 0.98, 0.38], at: 0.70 },
{ rgb: [0.57, 0.97, 0.61], at: 1.00 },
],
raindropLength: 1,
slant: 0