Authors: Collin Jones ([email protected]), Medhaj Shrestha ([email protected])
Collin's java --version
output:
java 18.0.1.1 2022-04-22
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
Medhaj's environment is Java 13.
This engine is inspired by the first few chapters of a wonderful book called Nature of Code by Daniel Shiffman. https://natureofcode.com/
Our understanding of concepts such as vectors, forces, and the concept of physics in code can be traced back to this book.
However, beyond that, the more complex concepts such as Elastic Collisions, Vector Reflections, Normal Vectors and Dot Product, Momentum, etc, have been interpreted from many sources such as Wikipedia, MathOverflow, StackOverflow, then pieced together to fit our particular use in a larger system.
Collin and Medhaj have taken these concepts and represented them together at once in one large interactive simulation.
Click the left mouse button once, then again in another location to create a line.
Right click the mosue to create a circle.
Press the R
key once to begin the creation of a box, Press R
again to create it.