refactor: animate params over time

This commit is contained in:
Maze Winther
2026-04-29 10:37:39 +02:00
parent d631c920cb
commit c92c7bf36a
32 changed files with 1421 additions and 1136 deletions
@@ -0,0 +1,10 @@
import { describe, expect, test } from "bun:test";
import { formatLinearRgba } from "@/params";
describe("channel layout", () => {
test("formats linear animated colors as hex", () => {
expect(formatLinearRgba({ color: { r: 1, g: 0, b: 0, a: 1 } })).toBe(
"#ff0000",
);
});
});