Initialisieren

This commit is contained in:
2026-07-23 21:59:15 +02:00
commit 2d961adad4
76 changed files with 14318 additions and 0 deletions

17
lib/motion.ts Normal file
View File

@@ -0,0 +1,17 @@
/**
* Zentrale Motion-Tokens (aus dem Landing-Page-Animations-Skill).
* Micro: 120220ms · UI: 300600ms · Story: 8001400ms
*/
export const DUR = {
micro: 0.18,
ui: 0.45,
story: 1.1,
} as const;
export const EASE = "power3.out";
/** Langer, physikalisch wirkender Auslauf (Glücksrad). */
export const wheelEase = (t: number) => 1 - Math.pow(1 - t, 5);
/** Münz-Auslauf: dramatisches Slow-down am Ende. */
export const coinEase = (t: number) => 1 - Math.pow(1 - t, 4);