helblazer811 / ManimML

ManimML is a project focused on providing animations and visualizations of common machine learning concepts with the Manim Community Library.
MIT License
2.27k stars 136 forks source link

Color of Neural Networks #32

Open ricard-inho opened 1 year ago

ricard-inho commented 1 year ago

Is it possible to change the color of the nodes and the background of the neural network?

helblazer811 commented 1 year ago

The background I believe can be changed using the core manim library. Look into the config.

I do have parameters that control the node color that you can change. I will eventually need to go through and document all of those parameters and make sure they are getting passed from Neural Network to the Layers properly. If you look at the code for the Neural Network or the FeedForwardLayer you will see parameters denoting the color of the nodes.

helblazer811 commented 1 year ago

I added color schemes to the project. See https://github.com/helblazer811/ManimML/blob/main/tests/test_color_scheme.py

helblazer811 commented 1 year ago

I have yet to fully integrate the color scheme information into most of the repository though, but this is the general idea of what I will be doing.