… brought to you via Smurf on Spreadsheets
If you want your spreadsheets to go faster, Charles Williams is the man to tell you how to do it. Charles has recently started a blog on the subject: FastExcel
Well worth a quick look.
… brought to you via Smurf on Spreadsheets
If you want your spreadsheets to go faster, Charles Williams is the man to tell you how to do it. Charles has recently started a blog on the subject: FastExcel
Well worth a quick look.
Usually when I’m searching YouTube to see what new old stuff has come up I type in Jansch or Renbourn or Thompson, but today just for a change I typed Mcshee, and this is what came up:
which lead to:
and:
Following the previous post, I have re-created the animation using a non-linear dynamic analysis inside Strand7, rather than by feeding in the positions of each ball at each time step. The input using this approach is much simpler; just set each pendulum with an equal angular off-set, and specify the direction of gravity, and then let the program work out where they go. The first animation generated with this approach was visually nearly identical to the version generated with specified coordinates, which was encouraging, but didn’t make for a very interesting video. To add a bit of variety, and to replicate the behaviour of real pendulums more closely, I have also added some “viscous damping”, which gradually reduces the amplitude of each pendulums movement:
Details of the Strand7 animations settings:
First attempts had problems with the analysis becoming unstable after a few seconds, which were resolved by:
This animation was produced in response to a video of real pendulums performing similar tricks:
Not having an animation program I thought I’d use the finite element program Strand7. Modelling the pendulums was easy, just 15 beam elements with a “translational mass” attribute on the end (more on the exact length of each pendulum later).
Strand7 will perform a dynamic analysis, so I could have given each pendulum a displacement and then carried out the analysis of their movements over 90 seconds, but because I was only interested in generating the patterns in this case I decided to take the easy way out and generate the pendulum movement by inputting the displacements directly. The procedure was:
The only remaining problem was how to enter 1800 x 30 factors quickly and accurately. The solution (naturally) was to set up a table of the X and Y displacements of each pendulum in Excel:
These factors were then transferred into Strand7 using the program’s API (the use of which I will describe in more detail in later posts).
The only remaining detail was to find the correct pendulum lengths to generate the patterns I was after. After a little experimentation it became clear that each pendulum much have a different integer number of cycles over some fixed period. I fixed the first pendulum length at 350 mm, which has a period of 1.187 seconds, or 51 cycles over 60.558 seconds. The other pendulum lengths were then adjusted to have 52 to 65 cycles over the same time period, giving a range from 336.7 mm to 215.5 mm.
Following yesterday’s post about my new toy, this one is about some of the applications to make it go. It will be fairly brief because I haven’t had a lot of time to explore, but the main aim is to provide a space for reader’s comments, so if you have an Android app you like, please leave a comment and let us know about it.
Office Stuff
Other stuff:
That’s all for now. Anyone with a good Android app, please leave a comment.