Added "Throwback" matrix version, an attempt at recreating the effect as it appears in the original movie's opening titles.

This commit is contained in:
Rezmason
2019-02-18 17:28:28 -08:00
parent 5528592754
commit 92a75d387c

View File

@@ -125,6 +125,47 @@
numColumns: 80,
fade: true,
cycleStyle: "cycleFasterWhenDimmed"
},
throwback: {
fontTexture: "./matrixcode_msdf.png",
raindropLength: 2,
glyphSequenceLength: 57,
bloom: {
strength: 0.3,
radius: 1.5,
threshold: 0.0
},
palette: [
{color: new THREE.Vector3(( 0 * 1.3)/255, ( 0 * 1.2)/255, ( 0 * 1.3)/255), at: 0/48},
{color: new THREE.Vector3(( 6 * 1.3)/255, ( 16 * 1.2)/255, ( 8 * 1.3)/255), at: 1/48},
{color: new THREE.Vector3(( 11 * 1.3)/255, ( 28 * 1.2)/255, ( 15 * 1.3)/255), at: 2/48},
{color: new THREE.Vector3(( 17 * 1.3)/255, ( 41 * 1.2)/255, ( 23 * 1.3)/255), at: 3/48},
{color: new THREE.Vector3(( 20 * 1.3)/255, ( 58 * 1.2)/255, ( 31 * 1.3)/255), at: 4/48},
{color: new THREE.Vector3(( 23 * 1.3)/255, ( 84 * 1.2)/255, ( 39 * 1.3)/255), at: 5/48},
{color: new THREE.Vector3(( 30 * 1.3)/255, (113 * 1.2)/255, ( 48 * 1.3)/255), at: 6/48},
{color: new THREE.Vector3(( 43 * 1.3)/255, (142 * 1.2)/255, ( 60 * 1.3)/255), at: 7/48},
{color: new THREE.Vector3(( 57 * 1.3)/255, (160 * 1.2)/255, ( 72 * 1.3)/255), at: 8/48},
{color: new THREE.Vector3(( 70 * 1.3)/255, (175 * 1.2)/255, ( 81 * 1.3)/255), at: 9/48},
{color: new THREE.Vector3(( 75 * 1.3)/255, (187 * 1.2)/255, ( 85 * 1.3)/255), at: 10/48},
{color: new THREE.Vector3(( 78 * 1.3)/255, (196 * 1.2)/255, ( 91 * 1.3)/255), at: 11/48},
{color: new THREE.Vector3(( 83 * 1.3)/255, (203 * 1.2)/255, (102 * 1.3)/255), at: 12/48},
{color: new THREE.Vector3(( 92 * 1.3)/255, (212 * 1.2)/255, (114 * 1.3)/255), at: 13/48},
{color: new THREE.Vector3((109 * 1.0)/255, (255 * 1.0)/255, (130 * 1.0)/255), at: 14/48},
{color: new THREE.Vector3((129 * 1.0)/255, (255 * 1.0)/255, (148 * 1.0)/255), at: 15/48},
{color: new THREE.Vector3((140 * 1.0)/255, (255 * 1.0)/255, (157 * 1.0)/255), at: 16/48},
{color: new THREE.Vector3((255 * 1.0)/255, (255 * 1.0)/255, (255 * 1.0)/255), at: 36/48},
],
fallSpeed: 0.6,
cycleSpeed: 0.4,
hasThunder: false,
hasSun: false,
slant: 0,
glyphEdgeCrop: 0.15,
glyphHeightToWidth:1.5,
isPolar: false,
numColumns: 90,
fade: false,
cycleStyle: "cycleRandomly"
}
};