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

indcader

@indcader

Joined June 1st, 2026

  • 11Devlogs
  • 1Projects
  • 1Ships
  • 15Votes
I'm a programmer who knows python. I used to make scratch projects.
Ship Changes requested

I made an N-body sim in which people can mess around with planetary bodies in an infinite area.

Everything uses Euler's approximation to simulate each body and the simulation allows users to add, delete, and manipulate bodies as they move around.

The simulation supports up to 100-200 bodies due to it being O(n^2) and it also has cool features like zooming, variable time-steps, and a moveable player.

Hope you guys can have fun with this and burn some time messing around with it! :D

  • 11 devlogs
  • 25h
Try project → See source code →
Open comments for this post

4h 39m 42s logged

I added a layer of polish to the game. Also got rid of the sliders! They’re too finicky and ugly and take up too much code. I also added a bunch of hotkeys to make the user’s life a bit better. Next thing I post should be the ship!!!!

0
0
2
Open comments for this post

4h 58m 15s logged

I added a bunch of new things as well as restructuring the code a bit. I added the ability to manipulate time mainly. I also separated the code a bit so all the physics logic is in its separate file. Hope to ship soon!!!!!!!

0
0
4
Open comments for this post

1h 23m 5s logged

I made the bodies colorful! I also added a slider for the mass so the scroll wheel is just for zoom.

Also going to clean up the code soon (I keep procrastinating lol) and this might be the version where I ship et!

0
0
5
Open comments for this post

4h 37m 24s logged

Sorry I haven’t posted in awhile, but I got a BIGGIE UPDATEEEEEEEEE

I added the ability to move around the world and zoom in and out of the play area. No more do you have to witness your beautiful 2 body system go off screen into oblivion! Now, you can follow it to the ends of the universe!!!!!!

After this, I plan to clean up the code a bit and change the controls since now the scroll wheel is mixed up with the zooming. I plan to keep adding things to the game until its fun

0
0
2
Open comments for this post

2h 13m 46s logged

BIGGE UPDATE ALERT

I added a bunch of buttons on screen that can now be used to place and delete bodies. I also made a bunch of underlying changes so I could do this!

The next thing to add is wasd controls for a player that can move around and follow bodies as they follow their trajectories. After that I may or may not add a rocket to the game. who knows!

0
0
6
Open comments for this post

2h 7m 19s logged

I fixed a few bugs including one where the masses were added twice in collisions. I also tweaked the colors and added a mass counter so that the user
can see the exact mass before placing a body.

After doing this, I plan to fix any more bugs and clean up the code. Then I will implement a camera that can follow the bodies and a small ship the player can spawn. After that I (might!) be good night for this project

0
0
6
Open comments for this post

46m 30s logged

I finally figured out Github (yayayay!!!) and now my workflow is (hopefully) gud. I also added the proper formula for momentum when a body gets hit. Will need to clean up the code though.

0
0
5
Open comments for this post

41m 25s logged

I changed the color of the planets (cyan is kinda getting tired) and I made it so that the planets can gobble each other up

0
0
9

Followers

Loading…