Skip to content

Commit f4401de

Browse files
committed
slight updates
1 parent 5383be6 commit f4401de

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

content/applied-math/dynamical-systems/flows-on-the-circle.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,14 @@ Instead of a line, we can have flows on a circle:
88
$$ \dot{\theta} = f(\theta). $$
99

1010
Here, $ \dot{\theta} = \frac{d\theta}{t}$ is the @angular-velocity.
11+
12+
13+
{% include_demo "firefly-synchronization" %}
14+
15+
Each firefly has a natural uncoupled frequency, randomly assigned between 0.9hz and 1.1hz, and a random starting phase.
16+
17+
Then each fly updates its dynamic frequency to try to better match the frequency of the other flies. Nearby fireflies influence each other more strongly, and the overall strength of the matching force is controlled by the parameter K.
18+
19+
When K is 0, the flies all act independently. When K is high, they synchronize phase and frequency quickly. When K is in the middle, phase may synchronize globally while frequency synchronizes locally.
20+
21+
This demo uses the <a href="https://en.wikipedia.org/wiki/Kuramoto_model">Kuramoto model</a> for coupled oscillators.

demos/dynamical-systems/firefly-synchronization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export const metadata: DemoMetadata = {
235235
title: 'Firefly Synchronization',
236236
category: 'Dynamical Systems',
237237
description: 'Simulation of fireflies that blink and synchronize via distance-weighted coupling',
238-
instructions: 'Watch the fireflies synchronize. Each firefly has a natural uncoupled frequency, randomly assigned between 0.9hz and 1.1hz, and a random starting phase. Then each fly updates its dynamic frequency to try to better match the frequency of the other flies. Nearby fireflies influence each other more strongly, and the overall strength of the matching force is controlled by the parameter K. When K is 0, the flies all act indepenently. When K is high, they synchronize phase and frequency quickly. When K is in the middle, phase may synchronize globally while frequency synchronizes locally. This demo uses the <a href="https://en.wikipedia.org/wiki/Kuramoto_model">Kuramoto model</a> for coupled oscillators. '
238+
instructions: 'Adjust K to see how it affects synchronization. This demo uses the <a href="https://en.wikipedia.org/wiki/Kuramoto_model">Kuramoto model</a> for coupled oscillators.'
239239
};
240240

241241
export default function initFireflySynchronization(

0 commit comments

Comments
 (0)