CS 3 (Spring 2024) Project 04: Forces and Impulses (Demo)

In this project, you will using an abstraction for forces and impulses to create a demo of gravitational force between n-bodies.

If you run into Makefile/compilation errors, you can run the script cs3-check-files to check that you’ve ported over all required files. The script will tell you which files are missing in the terminal, or you can check the .required-files file in your repo. If all required files are present, the terminal will not print anything.

Code Correctness

Demos

This week, you will be implementing the following “n-bodies” demo. Here is the video example:

Your “n-bodies” must use the scene, body, and (new) force creator abstractions. Our implementation uses gravity in the n-bodies demo.