Visualising 3D density cloud with planes in Plotly

Опубликовано: 20 Октябрь 2024
на канале: Pythonika
104
5

Generating interactive model for visualization of the spherically symmetric density clouds with cross-cut planes with Plotly.
This model is one of the ways to visualize density clouds or probability distribution clouds with spherical symmetry. This style of visualization will not work in complicated cases, but it is pretty good for simple cases.
For example for visualising the density distribution for the hydrogen atom: http://hydrogen.atomistry.com/
For using this algorithm, it is necessary to understand meshgrid function from numpy:    • Numpy Mgrid and Meshgrid. Conversion ...  
Read the code description and how to integrate it into HTML: http://mycoding.uk/a/visualising_dens...

Video content:
0:00 - Task description
0:07 - Initialisation of the system
1:21 - Calculating density in the 3D-domain
1:57 - Calculating cross-cut planes
2:29 - Visualizing planes
5:13 - Making proper axis
7:44 - HTML insertion

#plotly #numpy #pythoncoding