You are browsing as a guest. Sign up (or log in) to start making projects!

N-bodies

  • 8 Devlogs
  • 3 Total hours

A physics based 2D interactive N-body simulator

Ship #1

I made an interactive N-body gravity simulator in pygame. You can choose masses and add them. The challenging part was getting the UI to work in sync with the rest of the program since pygame does not have a native UI system like the web. As such, I had to engineer my own input fields and buttons. Definitely was a fun one! :)

  • 8 devlogs
  • 3h
Try project → See source code →
Open comments for this post

33m 2s logged

Switched to the zed editor, cause thats just better.
Got the physics engine somewhat working, but it will need a bit more polish.

0
0
35

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…