Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/thatstupidcomputer / apps/web/src/animation/mobile/types.ts |
| Date | Not specified in source |
| Repository | Janady13/thatstupidcomputer |
| Revision | 57555cde46910102dd25d6c1c1fb2c359e9655bd |
| Branch | main |
| Path or archive member | apps/web/src/animation/mobile/types.ts |
| Original SHA-256 | 08603c49e38afff1be92b4f1dff6fe727274240b20403f1ddd601754e0dfbbc2 |
| Git blob SHA | 3c6c1646626427c155e5938c69256f864ccce4d9 |
| Reading-copy SHA-256 | 08603c49e38afff1be92b4f1dff6fe727274240b20403f1ddd601754e0dfbbc2 |
Recovered source transcript
Download complete source text ↓13 lines · 1.3 KB
export type CharacterSlug = 'smartphone' | 'flip-phone' | 'app-bot' | 'pager' | 'handheld';
export type ActionName = 'Idle' | 'Happy' | 'Excited' | 'Sad' | 'Angry' | 'Confused' | 'Searching' | 'Sassy' | 'EyeRoll' | 'RudeFlipOff' | 'Wave' | 'Revived' | 'WalkRight' | 'WalkLeft'
| 'Laugh' | 'Proud' | 'Shy' | 'Suspicious' | 'Startled' | 'Frustrated' | 'Sleepy' | 'WakeUp' | 'Think' | 'Facepalm' | 'Shrug' | 'PointLeft' | 'PointRight' | 'Bow' | 'Jump' | 'Land' | 'RunRight' | 'RunLeft';
export type Property = 'x' | 'y' | 'rotation' | 'scaleX' | 'scaleY' | 'opacity';
export interface VectorNode {
type: 'group' | 'path'; id: string;
x?: number; y?: number; rotation?: number; scaleX?: number; scaleY?: number; opacity?: number;
children?: VectorNode[]; d?: string; fill?: string; stroke?: string; strokeWidth?: number;
}
export interface CharacterModel { slug: CharacterSlug; title: string; subtitle: string; width: number; height: number; cycleSeconds: number; root: VectorNode; }
export interface Track { target: string; property: Property; interpolation: 'hold' | 'linear'; keys: [number, number][]; }
export interface Clip { name: ActionName; fps: number; duration: number; seconds: number; loop: boolean; description: string; tracks: Track[]; travelPerCycle: number; }