CSE-7319 | Software Architecture and Design | Southern Methodist University | Spring 2019
# Clojure lein run # JS (in another session) yarn run dev
# Clojure lein uberjar # JS rm -rf docs yarn run build mv dist docs
This is based on a simple spherical movement concept that I experimented with here: https://playground.babylonjs.com/#GSZYZL
The mathematics behind the movement are located here: https://github.com/BabylonJS/Babylon.js/blob/a001298124c04e3610ed06dc31d075ba799d047f/src/Meshes/transformNode.ts#L796
The gist is that for the given mesh, calculate a quaterion based on the given axis and angle, then multiply it by the mesh's current quaternion to get the new quaternion for the mesh's center of rotation.
To find the component-to-class** mappings, search the project source for the text FLYING_ARCHITECTURE.
**Classes in TypeScript/ES2015+ are actually syntactic sugar on top of prototypical OOP.
- GNU GPL v3.0
- from: https://motherboardmage.itch.io/low-poly-planets