[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: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

[ANN] Circling Balls Illusion

Post by RogGuay » Wed Feb 02, 2022 10:09 pm

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 141 times
Cheers,
Roger

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: [ANN] Circling Balls Illusion

Post by dunbarx » Wed Feb 02, 2022 10:16 pm

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: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: [ANN] Circling Balls Illusion

Post by dunbarx » Wed Feb 02, 2022 10:17 pm

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: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: [ANN] Circling Balls Illusion

Post by richmond62 » Wed Feb 02, 2022 10:40 pm

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: 3991
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: [ANN] Circling Balls Illusion

Post by bn » Wed Feb 02, 2022 10:44 pm

Thanks Roger, very nice.

Kind regards
Bernd

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 365
Joined: Mon Jun 10, 2013 1:32 pm

Re: [ANN] Circling Balls Illusion

Post by Lagi Pittas » Wed Feb 02, 2022 10:56 pm

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: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

Re: [ANN] Circling Balls Illusion

Post by RogGuay » Thu Feb 03, 2022 4:18 pm

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: 3991
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: [ANN] Circling Balls Illusion

Post by bn » Thu Feb 03, 2022 6:27 pm

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: 365
Joined: Mon Jun 10, 2013 1:32 pm

Re: [ANN] Circling Balls Illusion

Post by Lagi Pittas » Thu Feb 03, 2022 9:05 pm

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: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

Re: [ANN] Circling Balls Illusion

Post by RogGuay » Fri Feb 04, 2022 5:56 am

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 111 times
Cheers,
Roger

Post Reply

Return to “Talking LiveCode”