
Web-based atomic and molecular orbitals viewer developed by a high school student, using spherical harmonics and Density Functional Theory formulas.
Developed and Designed by John Seong. Served under the MIT License.
ElectronVisualized uses the spherical harmonics formula to accurately depict the shape of each atomic orbital based upon its four quantum numbers. Each dot represent a probable location of where an electron might be.


Thanks to Density Functional Theory and GPAW library, we were able to derive the electron density of a molecule without going through complex steps of solving a N-dimensional Schrödinger’s Equation.


https://electronvisual.org/api/load/<molecule_name_goes_here>Loads the x, y, and z coordinates of a molecule based upon the DFT calculations, all from the Amazon S3 server with blazingly fast speed guaranteed.
https://electronvisual.org/api/loadSPH/<atom_name_goes_here>Retrieves the x, y, and z coordinates of an individual atom derived from the Spherical Harmonics formula. This might take a little more time as it is more precise and contains significantly more information.
P/S: Remove the ‘<>’ brackets upon its actual usage!
These sketches were drawn at the early stage of development.


./client./serverbrew on macOS or other package managers like APT on Linux or Chocolatey on Windows (Heroku runs on top of Ubuntu by default, so in this case, I set up a Dockerfile to apt-get install. A bit of trial and error were involved in the process of finding the right method, as Heroku’s official APT buildpack was not suitable for deploying applications that involve scientific computing (modules such as SciPy or GPAW)cd client && npm installyarn build to convert React *.JSX into production files that Flask (our back-end) can readroot folder, and set up a virtual environmentgpaw install-data <dir> if you would like to generate your own version of GPAW datasets; otherwise, use the one that is pre-packaged in this repoexport GPAW_SETUP_PATH=~/gpaw-setups-<version> to direct the API to the GPAW datasets that are rendered in step 5 (or use the one that is already included in this repo)CONFIG_VAR menu on the dashboard (Just set it to GPAW_SETUP_PATH=server/datasets/gpaw-setups-0.9.20000 if you don’t know what you’re doing)pip3 install requirements.txt && cd client && yarn start-api to download all the PyPi dependencies as well as running the Flask server (Optionally, you can go to the root folder and execute flask run instead)