-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
50 lines (45 loc) · 1.18 KB
/
types.ts
File metadata and controls
50 lines (45 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export interface ControlsState {
// Environment
backgroundColor: string;
// Camera
cameraZoom: number;
cameraView: CameraView;
// Materials
color1: string;
color2: string;
color3: string;
color4: string;
color5: string;
color6: string;
// Layout
gridRows: number;
gridCols: number;
gridSpacing: number;
blockWidth: number;
blockHeight: number;
blockDepth: number;
// Kinetic Modifiers
gravityWell: number;
ambientScalePulse: number;
radialScaleWave: number;
waveScale: number;
radialPositionWave: number;
verticalScaleWave: number;
verticalScaleWaveX: boolean;
verticalScaleWaveY: boolean;
verticalScaleWaveZ: boolean;
// Motion
animSpeed: number;
}
export type LayoutType = 'grid' | 'circle' | 'pyramid' | 'twist' | 'stack' | 'wave';
export type MotionType = 'rotate' | 'ripple' | 'wave' | 'twist' | 'float' | 'sway' | 'stop';
export type AiDetailLevel = 'low' | 'medium' | 'large';
export type AiIconStyle = 'fill' | 'outline';
export type CameraView = '3d' | 'top' | 'right' | 'bottom' | 'left';
export interface AiPixelIcon {
name: string;
pixels: number[][];
}
export interface AiIconSetResponse {
icons: AiPixelIcon[];
}