asciify-engine 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -581,7 +581,7 @@ function renderWaveBackground(ctx, width, height, time, mousePos = { x: 0.5, y:
581
581
  } else if (baseColor) {
582
582
  ctx.fillStyle = baseColor.replace("{a}", String(alpha));
583
583
  } else if (lightMode) {
584
- ctx.fillStyle = `rgba(0,0,0,${alpha * 7})`;
584
+ ctx.fillStyle = `rgba(55,55,55,${alpha * 7})`;
585
585
  } else {
586
586
  ctx.fillStyle = `rgba(255,255,255,${alpha})`;
587
587
  }
@@ -1152,9 +1152,9 @@ function renderRainBackground(ctx, width, height, time, options = {}) {
1152
1152
  ctx.textBaseline = "top";
1153
1153
  let br = 255, bg = 255, bb = 255;
1154
1154
  if (lightMode) {
1155
- br = 0;
1156
- bg = 0;
1157
- bb = 0;
1155
+ br = 55;
1156
+ bg = 55;
1157
+ bb = 55;
1158
1158
  }
1159
1159
  if (color) {
1160
1160
  const p = parseColor(color);
@@ -1216,9 +1216,9 @@ function renderStarsBackground(ctx, width, height, time, mousePos = { x: 0.5, y:
1216
1216
  const maxR = Math.sqrt(width * width + height * height) * 0.65;
1217
1217
  let br = 255, bg = 255, bb = 255;
1218
1218
  if (lightMode) {
1219
- br = 0;
1220
- bg = 0;
1221
- bb = 0;
1219
+ br = 55;
1220
+ bg = 55;
1221
+ bb = 55;
1222
1222
  }
1223
1223
  if (color) {
1224
1224
  const p = parseColor(color);
@@ -1278,9 +1278,9 @@ function renderPulseBackground(ctx, width, height, time, mousePos = { x: 0.5, y:
1278
1278
  const maxDist = Math.sqrt(cx * cx + cy * cy) * 1.6 + Math.sqrt(width * width + height * height) * 0.2;
1279
1279
  let br = 255, bg = 255, bb = 255;
1280
1280
  if (lightMode) {
1281
- br = 0;
1282
- bg = 0;
1283
- bb = 0;
1281
+ br = 55;
1282
+ bg = 55;
1283
+ bb = 55;
1284
1284
  }
1285
1285
  if (color) {
1286
1286
  const p = parseColor(color);
@@ -1355,9 +1355,9 @@ function renderNoiseBackground(ctx, width, height, time, mousePos = { x: 0.5, y:
1355
1355
  ctx.textBaseline = "top";
1356
1356
  let br = 255, bgc = 255, bb = 255;
1357
1357
  if (lightMode) {
1358
- br = 0;
1359
- bgc = 0;
1360
- bb = 0;
1358
+ br = 55;
1359
+ bgc = 55;
1360
+ bb = 55;
1361
1361
  }
1362
1362
  if (color) {
1363
1363
  const p = parseColor(color);
@@ -1434,9 +1434,9 @@ function renderGridBackground(ctx, width, height, time, mousePos = { x: 0.5, y:
1434
1434
  ctx.textBaseline = "top";
1435
1435
  let br = 255, bgv = 255, bb = 255;
1436
1436
  if (lightMode) {
1437
- br = 0;
1438
- bgv = 0;
1439
- bb = 0;
1437
+ br = 55;
1438
+ bgv = 55;
1439
+ bb = 55;
1440
1440
  }
1441
1441
  if (color) {
1442
1442
  const p = parseColor(color);
@@ -1506,9 +1506,9 @@ function renderAuroraBackground(ctx, width, height, time, mousePos = { x: 0.5, y
1506
1506
  ctx.textBaseline = "top";
1507
1507
  let cr = 255, cg = 255, cb = 255;
1508
1508
  if (lightMode) {
1509
- cr = 0;
1510
- cg = 0;
1511
- cb = 0;
1509
+ cr = 55;
1510
+ cg = 55;
1511
+ cb = 55;
1512
1512
  }
1513
1513
  if (color) {
1514
1514
  const p = parseColor(color);
@@ -1591,9 +1591,9 @@ function renderSilkBackground(ctx, width, height, time, options = {}) {
1591
1591
  ctx.textBaseline = "top";
1592
1592
  let cr = 255, cg = 255, cb = 255;
1593
1593
  if (lightMode) {
1594
- cr = 0;
1595
- cg = 0;
1596
- cb = 0;
1594
+ cr = 55;
1595
+ cg = 55;
1596
+ cb = 55;
1597
1597
  }
1598
1598
  if (color) {
1599
1599
  const p = parseColor(color);
@@ -1668,9 +1668,9 @@ function renderVoidBackground(ctx, width, height, time, mousePos = { x: 0.5, y:
1668
1668
  ctx.textBaseline = "top";
1669
1669
  let cr = 255, cg = 255, cb = 255;
1670
1670
  if (lightMode) {
1671
- cr = 0;
1672
- cg = 0;
1673
- cb = 0;
1671
+ cr = 55;
1672
+ cg = 55;
1673
+ cb = 55;
1674
1674
  }
1675
1675
  if (color) {
1676
1676
  const p = parseColor(color);
@@ -1740,9 +1740,9 @@ function renderMorphBackground(ctx, width, height, time, options = {}) {
1740
1740
  ctx.textBaseline = "top";
1741
1741
  let cr = 255, cg = 255, cb = 255;
1742
1742
  if (lightMode) {
1743
- cr = 0;
1744
- cg = 0;
1745
- cb = 0;
1743
+ cr = 55;
1744
+ cg = 55;
1745
+ cb = 55;
1746
1746
  }
1747
1747
  if (color) {
1748
1748
  const p = parseColor(color);