Skip to content

Timothy Chan 3D Hull used to render proton shells

Notifications You must be signed in to change notification settings

Kosalos/Atom_IOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0ef77de · Jun 1, 2018

History

4 Commits
Jan 28, 2018
Jan 28, 2018
Jun 1, 2018
Jan 28, 2018

Repository files navigation

Atom_IOS

Timothy Chan 3D Hull is described here: http://tmc.web.engr.illinois.edu/ch3d/ch3d.pdf

This app creates three proton shells, where you specify the number of protons in each. The Swift code moves the protons around to maximize the distance between them, therefore spreading them evenly around their shell. The Chan algorithm is then used to determine the hull of those proton positions. Because they all reside on the surface of a sphere, all the protons are part of the hull.

The Chan algorithm is written with pointer heavy C++, and so it wasn't transated to Swift. Instead this app demonstrates calling C++ from Swift. The app also demonstrates the ArcBall algorithm, which makes rotations of 3D objects always work correctly when you pan the view.

Support via PayPal

Screenshot

About

Timothy Chan 3D Hull used to render proton shells

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published