37 lines
677 B
Markdown
37 lines
677 B
Markdown
|
# Silvester 23 Visualizer
|
||
|
|
||
|
|
||
|
- Central Server
|
||
|
|
||
|
- Many clients connected each sending input
|
||
|
|
||
|
- need some general configuration which can be accesed through /admin on main server
|
||
|
|
||
|
- multiple scenes which should transition smoothly
|
||
|
|
||
|
- Black background, because its going to be projected on black molton
|
||
|
|
||
|
- Golden lines / golden glitter as connecting element
|
||
|
|
||
|
- react to music from main input, eg run on a laptop and reacts to input from laptop microphone
|
||
|
|
||
|
|
||
|
```ts
|
||
|
|
||
|
type ServerConfiguration = {
|
||
|
activeScene: number;
|
||
|
colors: string[],
|
||
|
backgroundColors: string[]
|
||
|
}
|
||
|
|
||
|
type MainInput = {
|
||
|
mic: number[]
|
||
|
}
|
||
|
|
||
|
type Inputs = {
|
||
|
cam: number[],
|
||
|
mic: number[],
|
||
|
gyro: number[]
|
||
|
}[]
|
||
|
|
||
|
```
|