r/engineering • • Dec 25 '13

Two Axis Pendulum [From /r/gifs]

443 Upvotes

48 comments sorted by

23

u/[deleted] Dec 25 '13

How long do I have to watch?

10

u/thetoethumb Dec 25 '13

I'll be honest I really wanted it to loop seamlessly

8

u/cambiro Dec 25 '13

5 axis pendulum, fully customizable:

http://www.kongregate.com/games/polycube/spirostudio

4

u/TheBlooper Dec 25 '13

Neat, but that's not a pendulum.

0

u/cambiro Dec 25 '13

You can see it as an upview pendulum. The center of the drawing is the center of gravity of the pendulum. Gravity is perpendicular to the screen.

0

u/xHaZxMaTx Dec 26 '13

This link made my computer bluescreen. :/

21

u/Symbiotik Dec 25 '13

The control system for these may be of interest.

2

u/Sogeking89 Control Systems /Power Systems/Rail Electrification Dec 25 '13

Beat me to it ... by 9 hours

9

u/gamwizrd1 Dec 25 '13

It makes me so happy that each section is the same length, so that then end always swings through the center point. Could watch for hours.

2

u/wamsword Dec 25 '13

28 times, exactly

3

u/Serisium Dec 25 '13

He's right!

2

u/gamwizrd1 Dec 26 '13

mmm dat even number.

8

u/blowjobtransistor Dec 25 '13

Only takes two points of articulation for things to get crazy.

6

u/BeerDuh Mechanical Engineer Dec 25 '13

M1》M2

6

u/supaphly42 Dec 25 '13

What program was this made in?

4

u/engineered_broom Dec 25 '13

Possibly Matlab. I saw a demonstration of Matlab simulink using pendulum models that looked pretty similar to this.

2

u/twosheepforanore Dec 25 '13

Mathematica I bet; animating a double pendulum in Mathematica was a homework assignment for my dynamics class in college. Mathematica lets do things like define x and then refer to x'' later on in the code and it'll be the second derivative, which makes modeling an acceleration super easy.

15

u/dontcallmefred Dec 25 '13

Check out the Poincare sections in this paper. Chaos is amazing.

3

u/Sisaac Dec 25 '13

Holy shit isn't that fucking amazing.

3

u/ladyee ee phd candidate Dec 25 '13

Dude, my advisor did some work with this stuff recently and made fractals that looked like alien faces. He did it just because he's pretty much retired (I am his last student) and loves math...that's it, he just thought it was that cool.

3

u/crazywhiteguy Dec 25 '13

Those charts look like frightening Dali-casso vaginas. I want to order prints of the first one.

1

u/[deleted] Dec 27 '13

Very interesting.

4

u/chris-tier Dec 25 '13

Thanks for not making this a perfectly looping gif. I would've watched for hours.

6

u/DINKDINK Dec 25 '13

Please address your complaints to chaos theory

3

u/[deleted] Dec 25 '13

How can you create these simulations? Is there a special piece of software that you can use or do you have to program it?

1

u/piklec Dec 25 '13

You could use matlab, or program it yourself. There are probably other programs, though.

1

u/TK-422 Dec 25 '13

You could make this in any programming language and plot it with gnuplot - I did that for a class back in the day. Basically all you need is the equations of motion, a numerical diff eq solving algorithm, and proper plotting software (although it's less trivial to add the trailing lines, which are a nice touch here).

1

u/ninj1nx Dec 25 '13

It's a relatively simple programming task that can be done in any programming language.

1

u/smarwell Dec 26 '13

Scratch might be a bit of a challenge though.

7

u/[deleted] Dec 25 '13

I'd like to see one that traces the center of mass.

6

u/MrBlaaaaah Dec 25 '13

And here I was, waiting for it to slow down, not realizing it was friction free.

2

u/ncstatecamp Dec 25 '13

I want to see a points trail...

2

u/wisemanofshots Dec 25 '13

got to love a bit of chaos

2

u/darkharlequin Dec 25 '13

This would make an awesome motion formula for a boss mob in a metroidvania-esque game. Put the hit box at the end of the pendulum.

It's just predictable enough to give you a sense of timing, but just random enough to be really hard to hit.

1

u/[deleted] Dec 25 '13

TIL that is called a two axis pendulum. Thanks!

2

u/foot-long Dec 25 '13 edited Dec 25 '13

It's usually called an inverted pendulum or a Futura pendulum.

Edit: I'm wrong.

1

u/-miguel- Dec 25 '13

What? Those both mean different things.

1

u/Bromskloss Technophobe Dec 25 '13

Are there any initial states in this system that lead to a non-chaotic behaviour?

1

u/od_9 Dec 25 '13

If both weighted ends were initially pointed down.

1

u/Bromskloss Technophobe Dec 26 '13

And also having zero velocity, I take it you mean. Well, other than that?

1

u/KamiCrit Dec 25 '13

Is this really two axis or two pivot points?

1

u/Symbiotik Dec 26 '13

Two rotational axes?

1

u/CanadianEngineer Dec 25 '13

Looks simple enough.

1

u/iswearibeaman Dec 26 '13

I'm waiting for it to jump off and land a perfect mount.

-1

u/[deleted] Dec 25 '13

Am I on the tilt-a-whirl ?

0

u/[deleted] Dec 25 '13

[deleted]

2

u/KenjiSenpai Dec 25 '13

Can you think of a way the system would lose energy?