experimental SVG-based video rendering engine made for music videos. React to MIDI or arbitrary signals from your DAW through "probe" VSTs
1pub mod scenes;
2
3use rand::{SeedableRng, rngs::SmallRng};
4use shapemaker::*;
5
6pub struct State {
7 pub bass_pattern_at: Region,
8 pub kick_color: Color,
9 pub rng: SmallRng,
10 pub cranks: u32,
11}
12
13impl Default for State {
14 fn default() -> Self {
15 Self {
16 bass_pattern_at: Region::from_topleft(CornerPoint(1, 1), (2, 2))
17 .unwrap(),
18 kick_color: Color::White,
19 rng: SmallRng::seed_from_u64(0),
20 cranks: 0,
21 }
22 }
23}