A chemistry simulation.
Collaborators:
Andrew Chen
Ida Wang
How to Use It:
Run "cool.pde" in processing within the "cool" directory.
Use the control bar drop-down menu to choose an element, and click the "Add" button to add 5 atoms.
To speed up / slow down the particles click "Increase" or "Decrease" respectively.
Click the simulation to clear it of all particles.
List of Working Features:
- Separate window for control bar to select specific atoms to add and adjust temperature.
- Atoms can bounce off walls and each other in 3D!
- Atoms attract and repel each other based on their charge.
- Atoms can ionize each other based off electronegativity.
- Covalent bonds between particles, including double and triple bonds. Some common molecules form.
- Basic electron replusion (vsepr).
- Colors!!!!!!!
List of Unresolved Bugs:
- Finding the closest particles to calculate forces is difficult.
- Starts slowing after adding ~100 atoms.
- Everything moves quickly, making it hard for solids to form.
- Changing the temperature only speeds up / slows down individual atoms, not molecules.
- Adjusting temperature is also only written to briefly increase/decrease the acceleration of the particles, so any new atoms added start at the regular velocity rather than at the same velocity of the rest of the particles.