mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-17 22:09:28 -07:00
Increasing "tracer" brightness envelope. Renaming fade to brightnessThreshold
This commit is contained in:
12
index.html
12
index.html
@@ -48,7 +48,7 @@
|
||||
},
|
||||
cycleSpeed: 0.05,
|
||||
cycleStyle: "cycleFasterWhenDimmed",
|
||||
fade: true,
|
||||
brightnessThreshold: 0,
|
||||
fallSpeed: 0.05,
|
||||
font: fonts.coptic,
|
||||
glyphEdgeCrop: 0.0,
|
||||
@@ -75,7 +75,7 @@
|
||||
},
|
||||
cycleSpeed: 0.02,
|
||||
cycleStyle: "cycleFasterWhenDimmed",
|
||||
fade: true,
|
||||
brightnessThreshold: 0,
|
||||
fallSpeed: 2.0,
|
||||
font: fonts.gothic,
|
||||
glyphEdgeCrop: 0.0,
|
||||
@@ -102,7 +102,7 @@
|
||||
},
|
||||
cycleSpeed: 1,
|
||||
cycleStyle: "cycleFasterWhenDimmed",
|
||||
fade: true,
|
||||
brightnessThreshold: 0,
|
||||
fallSpeed: 1,
|
||||
font: fonts.matrixcode,
|
||||
glyphEdgeCrop: 0.0,
|
||||
@@ -141,7 +141,7 @@
|
||||
},
|
||||
cycleSpeed: 0.4,
|
||||
cycleStyle: "cycleRandomly",
|
||||
fade: false,
|
||||
brightnessThreshold: 0.6375,
|
||||
fallSpeed: 0.6,
|
||||
font: fonts.matrixcode,
|
||||
glyphEdgeCrop: 0.15,
|
||||
@@ -185,7 +185,7 @@
|
||||
const slant = parseFloat(getParam(["slant", "angle"], version.slant)) * Math.PI / 180;
|
||||
const glyphEdgeCrop = parseFloat(getParam("encroach", version.glyphEdgeCrop));
|
||||
const glyphHeightToWidth = parseFloat(getParam("stretch", version.glyphHeightToWidth));
|
||||
const fade = getParam("fade", version.fade).toString() == "true";
|
||||
const brightnessThreshold = getParam("brightnessThreshold", version.brightnessThreshold);
|
||||
|
||||
const effect = getParam("effect", "plain");
|
||||
|
||||
@@ -204,7 +204,7 @@
|
||||
const matrixRenderer = makeMatrixRenderer(renderer, {
|
||||
animationSpeed, fallSpeed, cycleSpeed,
|
||||
cycleStyle: version.cycleStyle,
|
||||
fade,
|
||||
brightnessThreshold,
|
||||
fontTexture,
|
||||
glyphSequenceLength: version.font.sequenceLength,
|
||||
glyphEdgeCrop,
|
||||
|
||||
Reference in New Issue
Block a user