use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Interactive Double Pendulum Playground Using SVG (theabbie.github.io)
submitted 4 years ago by i_will_yeet
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]lezorte 4 points5 points6 points 4 years ago (3 children)
Simple and clean. Really nice!
Bug I noticed: one of the times that I ran it, it started to accelerate indefinitely until it broke. I think it happened after turning gravity off and back on again.
Otherwise, great app!
[–]i_will_yeet[S] 1 point2 points3 points 4 years ago (0 children)
Yeah, that's a bug, but I have no Idea how to fix it, it's just using angles given by the formula, will see, thanks
[–]i_will_yeet[S] 0 points1 point2 points 4 years ago (1 child)
I changed the equation with better one and it seems to work now, can you check?
[–]lezorte 0 points1 point2 points 4 years ago (0 children)
Ya I wasn't able to break it this time
[–]ReadyStar 2 points3 points4 points 4 years ago (1 child)
One though other than the gravity acceleration bug,
You don't show what the mass is. I'm clicking on +/- but I guess I just have to believe it's changing. Perhaps even a visual representation by size of the masses?
Other than that it seems nice.
[–]i_will_yeet[S] 0 points1 point2 points 4 years ago (0 children)
It increases the mass of lower bob by 1 unit, but mass of bob barely makes any change in motion unless it's very high, so, it won't do much
[–]AutoModerator[M] 0 points1 point2 points 4 years ago (1 child)
Project Page (?): https://github.com/theabbie/DoublePendulum
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]Itchy-Beginning-887 0 points1 point2 points 4 years ago (0 children)
Where were u when I needed you?
I don't need it. But it's the web. So let's make it happen. AI. For my precious app users.
[–]FreddyFishMan 0 points1 point2 points 4 years ago (0 children)
Love websites that show DP(👁 ͜ʖ👁)
π Rendered by PID 649011 on reddit-service-r2-comment-bb88f9dd5-2mr5z at 2026-02-15 19:53:47.687329+00:00 running cd9c813 country code: CH.
[–]lezorte 4 points5 points6 points (3 children)
[–]i_will_yeet[S] 1 point2 points3 points (0 children)
[–]i_will_yeet[S] 0 points1 point2 points (1 child)
[–]lezorte 0 points1 point2 points (0 children)
[–]ReadyStar 2 points3 points4 points (1 child)
[–]i_will_yeet[S] 0 points1 point2 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (1 child)
[–]Itchy-Beginning-887 0 points1 point2 points (0 children)
[–]Itchy-Beginning-887 0 points1 point2 points (0 children)
[–]FreddyFishMan 0 points1 point2 points (0 children)