C-Kenny / music-visualizer-4-friend

Music Visualizer, written in Processing 3
GNU General Public License v3.0
4 stars 0 forks source link

Refactor ideas #14

Open C-Kenny opened 4 years ago

C-Kenny commented 4 years ago

Divide classes up into managed objects such as diamonds, bezier fins etc for easier state management

C-Kenny commented 3 years ago
C-Kenny commented 3 years ago

Moved global state initialization into own function. Visualizer has now reached > 1000 lines including comments.

C-Kenny commented 3 years ago

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.

C-Kenny commented 3 years ago

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.