Skip to content

adzcai/atomic-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atomic Models Project

Built by Alexander Cai 2021-05-28 for a Physics IB Higher Level project on the history of atomic models.

Dalton model of the atom Thomson model of the atom Rutherford model of the atom Bohr model of the atom De Broglie model of the atom Schroedinger model of the atom

Built with:

Equations for the electron models are taken from class notes.

Code overview

Each of the seven files in /src/slides describes a different atomic model. Each one has a default export that is a function that constructs and returns a three.js Group that visualizes that atomic model.

These are imported in /src/slides/index.js, which also contains the text data for all of the models and handles the transitions between slides.

/src/index.js and /src/scene.js initialize the three.js scene, camera, and the camera controls. /src/util.js contains some math utilities and also the functions for describing the electron probability densities in the Schroedinger model.

Note that the current version of the develop branch will build fine locally but not when deployed to GitHub pages because of idiosyncrasies with file paths that I couldn't be bothered to fix.