Jump to content

Blink and you'll miss it !


Recommended Posts

Previously I've dabbled with stepped pendulums, just affected by gravity,  where the wire lengths increase in a linear manner - you can get nice sine wave type patterns eg here. I once saw a guy on TV - Stephen Fry - with a multi pendulum model doing just this, and he casually made a throwaway remark 'of course if you let it run long enough, the pendulums return to their original start positions' ie in a straight line.

 

I thought 'that can't be true'. I tried (in C4D) all combinations of wire lengths and increments, but all I got was 

 

straight line start > sine waves > chaotic movement

 

I once let a sim run for about 75,000F - but just got chaos and no alignment.

 

Then I saw some math online that explained the align trick...

 

I chose a time period for alignment - 20 sec

 

Using the standard pendulum formula, I calculated the wire length to make the longest pendulum do 18 complete swings (period - T) in 20 secs

 

I set the length of the next (shorter) pendulum to do 19T in 20 secs

 

then the next pendulum to do 20T in 20 secs

 

next 21T in 20 secs etc

 

up to 27T in 20 sec for the 10th pendulum

 

In theory, the pendulums should align every 20 sec. I set it running and the alignment was close, but not good enough. 

 

The problem was that the simple pendulum formula

 

1066959348_pendformula.png.a475723f28009dfeea2e40488577ac53.png

 

only works for small angles - it uses the approximation (in radians) of

 

sin(x) = x

 

 which falls down over about 10 degrees. The math for large angles is quite complex - I decided to manually tweak my computed values until the weights lined up.

 

So the final result was down to a mixture of python and intuition/guesswork. Works quite well.

 

 

the pendulums line up every 20s - blink and you'll miss it

Link to post
18 minutes ago, jed said:

It's just hinges - could do it in R14 😀

I know but I am more into knowing how complex it would to recreate within scene nodes. 😊 It’s just curiosity inside of me. 

U-Render Quality Assurance Specialist | Core4D Contributions

Link to post

Very impressive.  You are like Leonardo Da Vinci --- a renaissance man who is both skilled at art and science!

 

I loved the 100 pendulum animation.  Just so satisfying to watch!

 

Great stuff,

Dave

 

P.S. For Jed's next assignment, he will model quantum entanglement in 5 dimensional space -- stay tuned!  😀

Sorry...but I simply do not have enough faith to be an atheist.

Link to post

@3D-Pangel re historical figures - when I was counting pendulum swings trying to get the alignment correct, I felt more like Galileo counting the swinging chandeliers in church. Legend has it that he used his pulse to time them.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • LATEST ACTIVITIES

    1. 0

      Picture viewer much brighter than viewport

    2. 4

      Make a hat fall through the air with controlable turbulence, lift and wind???

    3. 3

      Corona Renderer 7

    4. 4

      Make a hat fall through the air with controlable turbulence, lift and wind???

    5. 175

      Houdini Tests and Impressions

×
×
  • Create New...

Copyright Core 4D © 2021 Powered by Invision Community