bqianz / Swarm

Aggregation model on the sphere and hyperbolic sphere

Home Page:https://func-it-app.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the code repository for the research project Self-organization on Riemmanian manifolds.

The code contains particle simulations on the sphere, hyperbolic sphere, and torus.

Interactive plot using Dash by Plotly for Python

View functional iteration on an initially estimated path between two points on the Torus, converging to the shortest geodesic connecting the points.

Web app

alt text

Paper published in Journal of Geometric Mechanics

Paper

A Real-life Analogy of Self-organization on the Sphere

Imagine a group of anti-social ants on a piece of concrete. If they want to be as far as possible from every other ant without losing social construct, how would they arrange themselves? According to this simulation, they would always spread themselves evenly in a disk shape.

alt text

Now imagine a group of anti-social ants on a tiny earth, so tiny that the ants can sense how far they are from each other by smell - as one ant produces odourous particles that travels along the surface of the earth to another ant. It turns out, they would always spread themselves evenly to the entire earth. Notice the highlighted paths of certain ants.

alt text

What if there was a barrier at the equator? Will the ants be more densely packed the closer they are to the equator? It turns out, only ants right on the equator are crowded, while every other ant gets their personal space as if the barrier doesn't exist.

alt text

About

Aggregation model on the sphere and hyperbolic sphere

https://func-it-app.herokuapp.com/


Languages

Language:MATLAB 61.3%Language:Python 21.4%Language:TeX 10.4%Language:CSS 6.0%Language:Shell 0.9%