Double-pendulum physical simulator (made in C++)

with real-time settings modification and trail system --> [space] to pause / unpause
27 Replies
anic17
anic173mo ago
It's been a long time since you've been working on this It's nice to see that it ran perfectly Whoops, bugged when changing numbers mid run
Enceladus
Enceladus3mo ago
oh yeah, in fact, it has been an unfinished project for a long time now, the textboxes were missing, so no settings modification, but I decided to entirely finish it well, it depends, what happened?
anic17
anic173mo ago
No description
Enceladus
Enceladus3mo ago
cause you might break the pendulum with : G >= 10 and L1 = 0
anic17
anic173mo ago
After I click reset it worked well
Enceladus
Enceladus3mo ago
yes
anic17
anic173mo ago
Didn't change length
Enceladus
Enceladus3mo ago
it's normal cause it's the equation, I can't change that hmm weird but textboxes can be fucked up sometimes and idk why, but as long as you don't spam or do anything to stupid it should work fine i already tried a lot of things without any issues on it (here it's not your problem) I put the same settings but didn't get the issue
anic17
anic173mo ago
I set mass 1 to 000.70 and it crashed
anic17
anic173mo ago
No description
Enceladus
Enceladus3mo ago
oh yep but it's normal you'll get same result with that
anic17
anic173mo ago
Why does the equation make this crash
Enceladus
Enceladus3mo ago
well, did it actually crashed or pendulum is just gone? like this
Enceladus
Enceladus3mo ago
No description
Enceladus
Enceladus3mo ago
here it's not crashing, it's just the it breaks I can't technically explain it since the equation is huge and complex but I guess to much tension or speed... and also it's possible to simulate orbites, it's not that easy though
Enceladus
Enceladus3mo ago
I think there is a lot of cool things to discover, like I made that 10 min ago
No description
Enceladus
Enceladus3mo ago
look, i just made a wonderful heart for you ^^
Enceladus
Enceladus3mo ago
No description
anic17
anic173mo ago
orbits are elliptical with an eccentricity value tho
anic17
anic173mo ago
I'm guessing you mean stuff like this, which is pretty cool ngl
No description
anic17
anic173mo ago
Also like venus dance
Enceladus
Enceladus3mo ago
Oh yeah that’s nice Damn you have a huge screen I think I already said that but still… Look at the size on my laptop ._.
anic17
anic173mo ago
Nice circle bud
No description
Enceladus
Enceladus3mo ago
woooooow
Enceladus
Enceladus3mo ago
No description
Enceladus
Enceladus3mo ago
No description
Dumb Bird
Dumb Bird3mo ago
Is there some github page? I'd love to compile from source and run this on my Mac and Linux machines for testing @earth's goose