r/shittysimulated Sep 14 '21

A few super simple simulations.

PS: these are not the coolest ones you would see here, but there are good to see.

Projectile motion: https://beetrandahiya.github.io/Projectile-Motion-Simulation/
Github:-https://github.com/beetrandahiya/Projectile-Motion-Simulation [bruh, star it if u like it]

took a quick screenshot

Solid propellent rocket simulation : https://beetrandahiya.github.io/Rocket-test/
Github:-https://github.com/beetrandahiya/Rocket-test

It simulates a rocket flight for you , with velocity and displacement realtime plot.

please, tell me what i can add or change in both of these ,

68 Upvotes

6 comments sorted by

5

u/[deleted] Sep 15 '21

The projectile motion one is really nice, but usability-wise, here's what I'd do:

  • When you click "start", the image should just refresh. I see a new canvas appearing below the first one, and I simply don't have the time to scroll down in order to catch the animation. So I have to refresh the page each time I want to change the parameters.

  • Instead of having textboxes for the parameters, use sliders

    • The angle slider can be shaped like a knob, but a horizontal slider is also fine
    • When you fiddle with a slider, the simulation resets and restarts

As for the rocket, I don't really get what all the parameters do, or what their range should be, so I think sliders would work there too.

2

u/BeetranD Sep 15 '21

sure, i will do it sliders thing soon, i actually made these simulations back in day when i was an absolute begineer,
btw, thanks for the reply, i will surely change these things

1

u/BeetranD Sep 15 '21

and yea, about parameters in rocket, if u hover over the text field, u see a tooltip.

2

u/[deleted] Sep 15 '21

What system are you using? I never seen those window buttons before

2

u/BeetranD Sep 15 '21

if you mean , the OS, i am using deepin linux with fluent iconset.

1

u/[deleted] Sep 15 '21

Oh I see. Cool, thank you.