Open C-Kenny opened 4 years ago
Moved global state initialization into own function. Visualizer has now reached > 1000 lines including comments.
Moved global init state into own function, is now independent from setup();
which allows the Visualizer to be reset when a new song is loaded.
Changed in 7f0fc46f5b9f7bc26fc225fb668d79ab9b72d5ad
Moving the diamonds, fins, background states into their own classes structure still needs to be done.
Now that we're getting to the stage of different foregrounds/backgrounds it would be nice to create "scenes" rather than toggling elements.
https://github.com/friedrichweise/Visualizer provides a good example of splitting into different scenes which are loaded depending on what state is desired.
Divide classes up into managed objects such as diamonds, bezier fins etc for easier state management