Skip to main content

OrbitalPlay: Interactive Molecular Orbital Education

Project description

OrbitalPlay

Interactive Molecular Orbital Education. Solve the Schrödinger equation for simple molecules in real-time and visualize the resulting orbitals.

📚 Full Documentation

Interactive Tutorials

Explore the quantum world through guided Jupyter notebooks.

Tutorial Description Link
01: The Hydrogen Bond Discover the simplest chemical bond and the nature of bonding/anti-bonding orbitals. Open In Colab
02: VSEPR and Hybridization Visualize why molecules have specific shapes and how lone pairs "push" other orbitals. Open In Colab

What is OrbitalPlay?

OrbitalPlay is a "Visual Orbital Engine" designed to bridge the gap between abstract quantum mechanics and physical chemical intuition. It transforms complex mathematical wavefunctions into interactive 3D visualizations that students can manipulate in real-time.

Core Features

  • Interactive Playground: Move atoms and watch bonding/anti-bonding orbitals "warp" on the fly.
  • Scientific Rigor: Powered by PySCF, using the Hartree-Fock method and STO-3G basis sets to ensure accuracy.
  • Spin Visualization: Explore open-shell systems (like the ·OH radical) and see how Alpha and Beta electrons occupy different spatial regions.
  • Notebook Ready: Full integration with Jupyter and Google Colab for guided classroom discovery.

Why it Matters

Most introductory chemistry students only see static, 2D representations of orbitals in textbooks. OrbitalPlay provides a dynamic environment where the connection between molecular geometry and electronic structure becomes tangible.


Installation

pip install orbital-play

Usage

Streamlit App

Launch the main interactive dashboard:

streamlit run app.py

Python Library

Integrate the engine into your own research or educational notebooks:

from orbital_play import engine, show_orbital

# Define and calculate
geo = engine.generate_geometry("H2O", dist=0.96, angle=104.5)
mol, mf = engine.run_calculation(geo)

# Visualize the HOMO
cube = engine.generate_cube_string(mol, mf, mo_index=4)
show_orbital(mol, cube)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orbital_play-0.1.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orbital_play-0.1.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file orbital_play-0.1.2.tar.gz.

File metadata

  • Download URL: orbital_play-0.1.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for orbital_play-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e14582d440b957dc9d5653db2e34593c6f028fd878e2309d9de49dfed2cf7b9a
MD5 65101bff79bb1267a6c872329025dd68
BLAKE2b-256 218fe9e2dd7d030c5e984f4fce26e4da83ddc4b35ebddc5f03a45575db5214c4

See more details on using hashes here.

File details

Details for the file orbital_play-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: orbital_play-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for orbital_play-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 545f9e588173a6723ec6dc904caecf897b19629d15d65ee71ddafa97d383d5ef
MD5 70d7583a7821fef3ab91677b09c5fdcf
BLAKE2b-256 cc82f73b6ef7928464dfd46dba743675fc6534bd387cdae41b8c72c8eb470bb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page