Skip to main content

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)

Release files for orbital-play 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orbital-play 0.1.2
File Size Uploaded
orbital_play-0.1.2.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orbital-play 0.1.2
File Interpreter ABI Platform
orbital_play-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 20.4 kB

Release files / orbital_play-0.1.2.tar.gz

Download URL orbital_play-0.1.2.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e14582d440b957dc9d5653db2e34593c6f028fd878e2309d9de49dfed2cf7b9a
BLAKE2b-256 checksum
How to use checksums
218fe9e2dd7d030c5e984f4fce26e4da83ddc4b35ebddc5f03a45575db5214c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / orbital_play-0.1.2-py3-none-any.whl

Download URL orbital_play-0.1.2-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
545f9e588173a6723ec6dc904caecf897b19629d15d65ee71ddafa97d383d5ef
BLAKE2b-256 checksum
How to use checksums
cc82f73b6ef7928464dfd46dba743675fc6534bd387cdae41b8c72c8eb470bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page