You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 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: $$\phi(r) =- \vec{\text{E}}\cdot\vec{\text{r}}$$
The text was updated successfully, but these errors were encountered:
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 $\vec{\textbf{E}}$ and take it's scalar product with the position vector of your field vector's starting point and map the colour value with the said scalar product
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 $$\vec{\textbf{E}}=\vec{\nabla}\phi$$
the field vectors should be normal to the equipotential surfaces.
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: