Тёмный

Spontaneous Synchronization of fireflies 

EFrans
Подписаться 1,3 тыс.
Просмотров 21 тыс.
50% 1

Spontaneous Synchronization of fireflies simulated using simple rules. Each firefly has an internal "charge" which builds up over time and when fully charged the firefly will light up. When a firefly lights up it will add a small amount of "charge" to all neighboring fireflies. This leads to the emergent self-organizing behavior of the fireflies (spontaneous synchronize).
Code: gitlab.com/eri...
Music: Satya Yuga by Jesse Gallagher

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@Bru1n
@Bru1n 3 года назад
I experienced something like this while camping a while ago! So beautiful to see it happen in the trees around you!
@efrans5507
@efrans5507 3 года назад
I have seen a few videos of this phenomena IRL and it is indeed very beautiful.
@6-dpegasus425
@6-dpegasus425 7 месяцев назад
I want to make stuff like this. Its so beautiful seeing emergent behavior
@quarantinethehumans679
@quarantinethehumans679 4 года назад
This is amazing! I couldn't help but think about cardiac muscle and EKG waveforms. This had the equivalent of fibrillation and controlled pulses along with ectopic rhythms. Spontaneous pacemaker regions emerged, leading to global synchronization. What an incredible visualization. Thank you. :)
@efrans5507
@efrans5507 4 года назад
Thats an interesting comparison indeed. Thank you so much for the kind words :)
@reducecotwo
@reducecotwo 2 года назад
Everything in the universe is in a constant vibratory state so imagine living in a world where the majority of people emanated love (not hate) through their thoughts, emotions, and actions, we could possibly change earth's heartbeat (7.83 Hz) Wow!
@nicolasreinaldet732
@nicolasreinaldet732 7 месяцев назад
​@@reducecotwoCould you please provide the mathematical proof of what is the frequency of love ?
@JesseGallagher
@JesseGallagher 4 года назад
Far Out!! Cool use of my music... Thank you, that was a very interesting...
@efrans5507
@efrans5507 4 года назад
Thank you again for your amazing music!
@gamiart3977
@gamiart3977 4 года назад
This is such a unique experiment. Makes me burst with scientific joy! And this is such a beauty as well. Which is another aspect of science that i highly appreciate.
@efrans5507
@efrans5507 4 года назад
Thanks for the very nice words :)
@blakecarson6555
@blakecarson6555 4 года назад
Would it be possible to constrain these to a doughnut shape? It would be interesting to see the emergent behavior in a circular motion. Especially when varying the triggering energy value or the size of the doughnut (as I would think they would have similar effects given the triggering that would wave around the circular track).
@efrans5507
@efrans5507 4 года назад
That's a neat idea, thanks for the suggestion. Yes that would definitely be possible, shouldn't be too hard to implement so I might just try that.
@krumkutsarov618
@krumkutsarov618 7 месяцев назад
how does one firefly going off charge a neighbouring one in reality?
@smileyp4535
@smileyp4535 7 месяцев назад
I think it's more that they see it and it's a signal, it's probably evolutionary, it's like yawning or laughter being contagious in humans
@rizizum
@rizizum 7 месяцев назад
It's more of a probability thing, they see a firefly glowing nearby, which increases their urge to glow too
@arachnid5669
@arachnid5669 4 года назад
This is really beautiful. Can happily just stare at this XD
@efrans5507
@efrans5507 4 года назад
Thank you :)
@NightmareCourtPictures
@NightmareCourtPictures 7 месяцев назад
w o l f r a m p h y s i c s videos like this, are proof enough, that simple rules = the universe
@patdoe6274
@patdoe6274 3 года назад
1:30 - 2:00 why do i think of Vtach ( the average charge )
@АлексейАпарнев-е5ш
@АлексейАпарнев-е5ш 7 месяцев назад
will they synchronize if speed of light is limited?
@teodoricusslack4524
@teodoricusslack4524 7 месяцев назад
i think the synchronization is due to the positive feedback in the charge. Limiting the speed of light would delay the charge feedback, but it would still happen and thus synchronization eventually achieved
@DrEvanJohnRicketts
@DrEvanJohnRicketts 7 месяцев назад
What sort of performance do you get here with python? Are these real time or rendered afterwards? Very nice video 😊
@efrans5507
@efrans5507 7 месяцев назад
There are almost real time, but also implementation is very naive and inefficient.
@NightmareCourtPictures
@NightmareCourtPictures 7 месяцев назад
Notice, how when the behavior reaches criticality, it changes from what was once random, to almost pure periodic behavior. Reminiscent of a heartbeat. Is it not reasonable, that lifeless atoms, can create something as complex as a heart, with simple rules like this one. Also notice, that in this video, what you are seeing concretely, is a DECREASE in entropy (enthalpy) happening, for a system that is at a thermal equilibrium. Modern science would claim such processes are "impossible" and would claim that such a system can not do meaningful work, and yet here we see a system, clearly able to change to a lower entropy state that can do something useful. There are many rules that do stuff like this, that can transform random states, to complex, patterned, or uniform, lower entropy states. Again it's more evidence that shows how far off the mark modern science is, and how on track the wolfram model is with how our universe works. Cheers and thanks for the great video
@rizizum
@rizizum 7 месяцев назад
It's not lowering entropy, cause it has to spend energy to synchronize. Also this literally shows how lifeless things can achieve complex behaviour with simples rules
@NightmareCourtPictures
@NightmareCourtPictures 7 месяцев назад
​@@rizizum There's no notion of energy in this system, so what does that even mean? The only thing we can say about this system is that it is following rules, and what its possible configurations are, which is how entropy is defined. And you can clearly see, that it is preferentially occupying configurations that have way less possible microstates, than a random distributions possible microstates. Again there's no notion of energy in this system...it's closed so humoring you, where did its "energy" even come from, and if its entropy is increasing, where would the diffused energy go? talking about energy here makes no sense, and don't say that it goes into your room because its being run on a computer...because you can make the same claim for this system no matter what configuration its in.
@rizizum
@rizizum 7 месяцев назад
@@NightmareCourtPictures Yeah there is energy, just not the same way there is energy in our universe. Energy is a measure of how much you reverse entropy, if a system has entropy it has energy
@NightmareCourtPictures
@NightmareCourtPictures 7 месяцев назад
@@rizizum you’re using a circular definition. You said in your original reply, that entropy increases in the system, because it cost energy to synchronize. You’re now saying that energy is a measure of change in entropy. So please explain why it increases.
@rizizum
@rizizum 7 месяцев назад
@@NightmareCourtPictures I'm not
@smashinbedrock4903
@smashinbedrock4903 4 года назад
this is so cool! keep up the great work!
@efrans5507
@efrans5507 4 года назад
Thank you!
@stefanobarbotto5844
@stefanobarbotto5844 4 года назад
The motion of the fireflies...is it a coded version of Brownian motion? Or something else?
@efrans5507
@efrans5507 4 года назад
Yes, every timestep a firefly gets a small random push/force in a random direction
@simaomarto6140
@simaomarto6140 3 года назад
From his code: # update motion friction = 0.999 a = np.random.normal(0, 0.03, (self.n_flies, 2)) self.velocities = friction * self.velocities + dt * a self.positions += dt * self.velocities
@lou-e-303
@lou-e-303 2 года назад
I've tried to implement something like this in Processing, but am struggling to achieve global synchronisation no matter how I tinker with the environment variables. I suspect it may be something to do with how charge is handled. In my code, each firefly has a random chance to add to their charge, which is what provides the initial pulse. This leads to some quite nice local synchronisation patterns, but I haven't managed to get them all totally in sync in the wave-like pattern you have got. Do your fireflies have a random chance to increase their charge, or does it just increase by a fixed amount over time?
@lou-e-303
@lou-e-303 2 года назад
A secondary question - do your fireflies start with a random charge (which is what mine have got currently), or is their charge initially set to 0?
@efrans5507
@efrans5507 2 года назад
@@lou-e-303 The fireflies in these simulations gain charge at a constant fixed speed (i.e. no randomness), and then if a nearby firefly lights up they will gain a small amount of extra charge. Yes they start with random charge (or they would all light up at the same time). If you increase the neighbor radius or increase the amount of extra charge added once nearby fly lights up, then you should probably get global synchronization faster.
@lou-e-303
@lou-e-303 2 года назад
@@efrans5507 Hmm I've just tried those things, no dice yet. Maybe I'm not running the simulation for long enough. What's the x-axis on your graphs there? Seconds?
@codingfromscratch2559
@codingfromscratch2559 2 года назад
Very cool... love the effect.
@altraxwagon3mcenturiesago469
@altraxwagon3mcenturiesago469 3 года назад
I came here from veritasium :)
@efrans5507
@efrans5507 3 года назад
From which video?
@altraxwagon3mcenturiesago469
@altraxwagon3mcenturiesago469 3 года назад
@@efrans5507 synchronization vid
@Relkond
@Relkond 7 месяцев назад
The top graph doesn’t do well with missing data points - oh, I know those diagonal slashes well.
@PikesCore24
@PikesCore24 3 года назад
What his the difference between spontaneous synchronization and entrainment?
@efrans5507
@efrans5507 3 года назад
I'm not sure, but spontaneous synchronization is a very broad term and covers lots of phenomena.
@GiveMeMyLunchMoney
@GiveMeMyLunchMoney 5 месяцев назад
And this is how pacemaker cells in the heart keep their beet.
Далее
The Surprising Secret of Synchronization
20:58
Просмотров 26 млн
Steven Strogatz: How things in nature tend to sync up
23:13
How Particle Life emerges from simplicity
10:16
Просмотров 352 тыс.
The Midpoint Circle Algorithm Explained Step by Step
13:33
The Genius Behind the Quantum Navigation Breakthrough
20:47
Synchronising Metronomes in a Spreadsheet
21:55
Просмотров 322 тыс.