Search
Get Started
PD
Program Dream
•
2y ago
Enceladus
Double-pendulum physical simulator (made in C++)
with real
-time settings modification and trail system
-
-
>
[space
] to pause
/ unpause
double_pendulum_simulator.zip
2.26MB
Program Dream
Join
We’re a community of programmers. We’re developing 🌎 Websites, 🎮 Games, 🤖 Discord bots, and various applications in
2,692
Members
View on Discord
Was this page helpful?
Yes
No
A
anic17
•
4/21/24, 5:22 PM
It
's been a long time since you
've been working on this
A
anic17
•
4/21/24, 5:23 PM
It
's nice to see that it ran perfectly
A
anic17
•
4/21/24, 5:23 PM
Whoops
, bugged when changing numbers mid run
E
Enceladus
OP
•
4/21/24, 5:24 PM
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
A
anic17
Whoops, bugged when changing numbers mid run
E
Enceladus
OP
•
4/21/24, 5:24 PM
well
, it depends
, what happened
?
A
anic17
•
4/21/24, 5:24 PM
E
Enceladus
OP
•
4/21/24, 5:24 PM
cause you might break the pendulum with
: G
>
= 10 and L1
= 0
A
anic17
•
4/21/24, 5:24 PM
After I click reset it worked well
E
Enceladus
OP
•
4/21/24, 5:24 PM
yes
A
anic17
•
4/21/24, 5:24 PM
Didn
't change length
E
Enceladus
cause you might break the pendulum with : G >= 10 and L1 = 0
E
Enceladus
OP
•
4/21/24, 5:25 PM
it
's normal cause it
's the equation
, I can
't change that
E
Enceladus
OP
•
4/21/24, 5:25 PM
hmm weird
E
Enceladus
OP
•
4/21/24, 5:26 PM
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
E
Enceladus
OP
•
4/21/24, 5:26 PM
i already tried a lot of things without any issues on it
E
Enceladus
OP
•
4/21/24, 5:27 PM
(here it
's not your problem
)
A
anic17
Click to see attachment
E
Enceladus
OP
•
4/21/24, 5:28 PM
I put the same settings but didn
't get the issue
A
anic17
•
4/21/24, 5:28 PM
I set mass 1 to 000
.70 and it crashed
A
anic17
•
4/21/24, 5:29 PM
E
Enceladus
it's normal cause it's the equation, I can't change that
E
Enceladus
OP
•
4/21/24, 5:29 PM
oh yep but it
's normal
E
Enceladus
cause you might break the pendulum with : G >= 10 and L1 = 0
E
Enceladus
OP
•
4/21/24, 5:30 PM
you
'll get same result with that
A
anic17
•
4/21/24, 5:30 PM
Why does the equation make this crash
E
Enceladus
OP
•
4/21/24, 5:31 PM
well
, did it actually crashed or pendulum is just gone
?
E
Enceladus
OP
•
4/21/24, 5:31 PM
like this
E
Enceladus
OP
•
4/21/24, 5:31 PM
E
Enceladus
OP
•
4/21/24, 5:32 PM
here it
's not crashing
, it
's just the it breaks
E
Enceladus
OP
•
4/21/24, 5:33 PM
I can
't technically explain it since the equation is huge and complex but I guess to much tension or speed
.
.
.
E
Enceladus
OP
•
4/21/24, 5:34 PM
and also it
's possible to simulate orbites
, it
's not that easy though
E
Enceladus
OP
•
4/21/24, 5:35 PM
I think there is a lot of cool things to discover
, like I made that 10 min ago
E
Enceladus
OP
•
4/21/24, 5:39 PM
look
, i just made a wonderful heart for you
^
^
E
Enceladus
OP
•
4/21/24, 5:39 PM
E
Enceladus
and also it's possible to simulate orbites, it's not that easy though
A
anic17
•
4/21/24, 6:09 PM
orbits are elliptical with an eccentricity value tho
A
anic17
•
4/21/24, 6:11 PM
I
'm guessing you mean stuff like this
, which is pretty cool ngl
A
anic17
•
4/21/24, 6:11 PM
Also like venus dance
E
Enceladus
OP
•
4/21/24, 7:38 PM
Oh yeah that
’s nice
E
Enceladus
OP
•
4/21/24, 7:38 PM
Damn you have a huge screen
E
Enceladus
OP
•
4/21/24, 7:38 PM
I think I already said that but still
…
E
Enceladus
with real-time settings modification and trail system --> [space] to pause / unp...
E
Enceladus
OP
•
4/21/24, 7:39 PM
Look at the size on my laptop
.
_
.
A
anic17
•
4/21/24, 7:53 PM
Nice circle bud
E
Enceladus
OP
•
4/21/24, 7:53 PM
woooooow
E
Enceladus
OP
•
4/21/24, 8:05 PM
E
Enceladus
OP
•
4/21/24, 8:12 PM
D
Dumb Bird
•
4/30/24, 2:01 PM
Is there some github page
? I
'd love to compile from source and run this on my Mac and Linux machines for testing
D
Dumb Bird
•
5/3/24, 1:33 AM
@earth
's goose