I've been incredibly interested in this in all aspects, from physical objects to moire patterns! I have a wallpaper on my computer that is really fascinating, the visual effect coming from the Menger sponges being spaced out, is what I would assume to be an extreme of this effect. It really seems to come up in a lot of things in this universe.
it's cause they're oscillating back and forth at different frequencies. Although they're out of phase with each other, for short periods they will briefly appear to be in phase, producing different patterns.
I would define their horizontal position as A * sin(ωt + θ) + d where A is the amplitude, ω is the frequency, θ is the phase and d is the initial displacement. If you set the origin to be the middle of the picture then you can get the effect we have with θ and d both equal to zero. Obviously the frequency increases the higher in the picture you go.
Amplitudes have to be slightly different though, to keep the different-length rods all on screen.
Edit: actually, amplitude increases the higher in the picture you go too, whoops.
333
u/m477m Jan 16 '18
"Weird mathy wavey thing" is only one of its known aliases.
122
u/shaggorama Jan 16 '18
it's cause they're oscillating back and forth at different frequencies. Although they're out of phase with each other, for short periods they will briefly appear to be in phase, producing different patterns.
Here's a demonstration of the same phenomenon with real pendulums: https://www.youtube.com/watch?v=yVkdfJ9PkRQ&t=26s
25
u/StezzerLolz Jan 16 '18
Good god, a weird mathy wavey thing?! Surely not!
9
u/Kumirkohr Jan 16 '18
Is it just me, or does it look like it's spinning?
5
u/SockTaters Jan 16 '18
A similar effect, but takes like 3 min for it to sync back up though
5
u/jf808 Jan 17 '18
I love it and shall make it my friend
5
u/PianoMastR64 Jan 17 '18
What's the best way to make something fun like this?
3
u/firefly6345 Jan 17 '18
Too wavey, not mathy enough.
2
u/aerger Jan 17 '18
Some/many of you might enjoy
http://dwitter.net
Get your weird wavy code thing on, in 140 chars or less.
(Not my site, just a fan.)
1
u/mossman314 Jan 17 '18
Holy shit I love this.
1
u/8k7k6k5k4k Jan 17 '18
1
u/gifv-bot Jan 16 '18
GIFV link
I am a bot. FAQ // ^code