2D Physics Simulation using Java
In this video, I attempt to explain a cool program I made in Java. It is a physics simulator and also my first real project in Java so hope you enjoy this video as much as I did. You can find the file download at mathkimchi.org/programming/java-nbody-sim or https://github.com/mathkimchi/nbody-physics-sim. Or, visit mathkimchi.org for more videos like this. To run my version you need to download stddraw from https://introcs.cs.princeton.edu/java/code/stdlib.jar and add it to your class path. To setup StdDraw if you are on a Mac with VSCode, do COMMAND+SHIFT+P and type&click Java: Configure Classpath. Scroll down to referenced libraries and add the file stdlib.jar. Hope that works and if you have any questions about setting up or anything, email [email protected] or contact me on mathkimchi.org/contact. If you are interested in the problem, visit https://www.cs.princeton.edu/courses/archive/spr22/cos126/assignments/nbody/.
Download
0 formatsNo download links available.