mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-17 05:49:30 -07:00
Fixes to the font configuration logic.
This commit is contained in:
@@ -36,6 +36,7 @@ const fonts = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const defaults = {
|
const defaults = {
|
||||||
|
font: "matrixcode",
|
||||||
backgroundColor: [0, 0, 0], // The color "behind" the glyphs
|
backgroundColor: [0, 0, 0], // The color "behind" the glyphs
|
||||||
volumetric: false, // A mode where the raindrops appear in perspective
|
volumetric: false, // A mode where the raindrops appear in perspective
|
||||||
resurrectingCodeRatio: 0, // The percent of columns that flow upward
|
resurrectingCodeRatio: 0, // The percent of columns that flow upward
|
||||||
@@ -81,11 +82,8 @@ const defaults = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const versions = {
|
const versions = {
|
||||||
classic: {
|
classic: {},
|
||||||
font: "matrixcode",
|
|
||||||
},
|
|
||||||
operator: {
|
operator: {
|
||||||
font: "matrixcode",
|
|
||||||
bloomStrength: 0.75,
|
bloomStrength: 0.75,
|
||||||
highPassThreshold: 0.0,
|
highPassThreshold: 0.0,
|
||||||
cycleSpeed: 0.2,
|
cycleSpeed: 0.2,
|
||||||
@@ -145,7 +143,6 @@ const versions = {
|
|||||||
raindropLength: 0.4,
|
raindropLength: 0.4,
|
||||||
},
|
},
|
||||||
resurrections: {
|
resurrections: {
|
||||||
font: "matrixcode",
|
|
||||||
resurrectingCodeRatio: 0.25,
|
resurrectingCodeRatio: 0.25,
|
||||||
glyphVerticalSpacing: 1.5,
|
glyphVerticalSpacing: 1.5,
|
||||||
effect: "resurrections",
|
effect: "resurrections",
|
||||||
|
|||||||
Reference in New Issue
Block a user