Fixes to the font configuration logic.

This commit is contained in:
Rezmason
2021-12-21 15:13:54 -08:00
parent 22f3ab4092
commit adada69cdf

View File

@@ -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",