-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An alternative approach to RedBlueColorGenerator
#5
Comments
Hey @ritamsaha00, thank you very much for your suggestion, it seems quite interesting! Can you explain me why is this approach better than mapping the norm of the vector to a color?. |
Before anything I should make this clear that, it’s not a better approach, this is just another way to visualize stuff. Explaination: We will first take an Advantages: With this you can somewhat visualize the equipotential surface and see how the direction of field vectors are wrt the equipotential surface. According to the relation of field and potential Disadvantage: You will not be able visualize the magnitude of the field vectors Note: I might've made some mistakes with sign, so please check that. |
In$$\phi(r) =- \vec{\text{E}}\cdot\vec{\text{r}}$$
RedBlueColorGenerator
, instead of mapping the norm of the vector to a colour, you can map the potential at the point to a colour.Potential as in:
The text was updated successfully, but these errors were encountered: