[ANN] Circling Balls Illusion

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 125
Joined: Fri Apr 28, 2006 12:10 am

[ANN] Circling Balls Illusion

Post by RogGuay »

Introducing my LC version of a well know dynamic optical illusion wherein a number of balls appear to be circling inside of a bigger circle.
Screen Shot 2022-02-02 at 1.39.32 PM.png
CirclingBalls.livecode.zip
(2.29 KiB) Downloaded 386 times
Cheers,
Roger
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: [ANN] Circling Balls Illusion

Post by dunbarx »

Roger.

I like optical illusions, but do not understand this one. The rotating ball group seems to just be rolling inside the large white circle. What might I be seeing?

Craig
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: [ANN] Circling Balls Illusion

Post by dunbarx »

Ah, now I see. I needed to show the radii to see what each ball was up to. :D

Craig
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: [ANN] Circling Balls Illusion

Post by richmond62 »

My wife and I have just enjoyed that: 1000 times better than
the filthy weather on our winter seaside holiday!

Thank you very much for such a clever stack. :D
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: [ANN] Circling Balls Illusion

Post by bn »

Thanks Roger, very nice.

Kind regards
Bernd
Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 372
Joined: Mon Jun 10, 2013 1:32 pm

Re: [ANN] Circling Balls Illusion

Post by Lagi Pittas »

In Fact this is a computer version of professor Eric laithwaites mechanical explanation of how waves "move" without moving. from his lecture "magnetic river"

https://youtu.be/OI_HFnNTfyU?t=609

I have linked to the actaul place in the video - but if you want to see a real man of science explain things do yourself a favour and watch the lot.

China and japan's high speed trains are based on his work from the 50 years ago

Lagi

p.s

Better than any of the crap they have on TV these days.


https://www.youtube.com/watch?v=oWiYsRi2Dss
https://www.youtube.com/watch?v=0tJfqMYHaQw

https://www.youtube.com/watch?v=f1CD3J-2VAo
https://www.youtube.com/watch?v=VUh6QXe4mMY
https://www.youtube.com/watch?v=0L2YAU-jmcE

https://www.youtube.com/results?search_ ... laithwaite
RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 125
Joined: Fri Apr 28, 2006 12:10 am

Re: [ANN] Circling Balls Illusion

Post by RogGuay »

Lagi,

Thanks for noticing the parallels between my stack and wave motion as so cleverly demonstrated By Prof, Laithwait. I love watching the videos that you referenced. Thank you!

Roger
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: [ANN] Circling Balls Illusion

Post by bn »

Hi Roger,

If you would add a lock screen to the beginning of the repeat loop and an unlock screen in the repeat loop before wait 5 milliseconds it would run a bit faster and smoother.

I find the circling balls fascinating.

Kind regards
Bernd
Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 372
Joined: Mon Jun 10, 2013 1:32 pm

Re: [ANN] Circling Balls Illusion

Post by Lagi Pittas »

And I was so enamoured by your work Roger , I forgot to say thank you for it. I spent a good few hours reliving those “videos” they never cease to amaze me. Some I saw almost 45 years ago some I only saw in the early days of the internet and still some only when YouTube came along.

Thanks again

Lagi
RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 125
Joined: Fri Apr 28, 2006 12:10 am

Re: [ANN] Circling Balls Illusion

Post by RogGuay »

Thank you all for your kind words. And, I am ashamed that I forgot to use Lock Screen. So, I've included that plus some some other cleanup in this revised copy:
CirclingBalls.livecode.zip
(11.18 KiB) Downloaded 352 times
Cheers,
Roger
Post Reply