Skip to content

Commit

Permalink
for the culture cats - comment to make them a bit easier to discover
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-crypto committed Apr 9, 2024
1 parent a150a17 commit 0459882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/mooncat-parser.colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function feeRateToColor(feeRate: number, saturationSeed: number): { rgb:
phase
);

// for the culture - saturated cat 😸
let saturation = map(saturationSeed, 0, 255, 0.75, 1.0);
if (feeRate >= 420 && feeRate < 421) {
saturation = 42.0;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/mooncat-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export class MooncatParser {
const { rgb, saturation } = feeRateToColor(feeRate, saturationSeed);
colors = derivePalette(rgb[0], rgb[1], rgb[2], saturation);

// for the culture
// for the culture - fire cat 🔥
if (feeRate >= 69 && feeRate < 70) {
colors[1] = '#ff0000';
colors[2] = '#ffa500';
Expand Down

0 comments on commit 0459882

Please sign in to comment.