Sovereign 8s.is mirror of standardgalactic/ReducedSynchronematic
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-16 13:27:49 +01:00
readme.txt Add files via upload 2025-12-16 13:27:49 +01:00
simulation_numba.py Add files via upload 2025-12-16 13:27:49 +01:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Reduced-order Swarmalator Model (Synchronematic colloids)

Python code to reproduce the reduced-order “swarmalator” simulations used for Fig. 5 of *Self-oscillating synchronematic colloids*. The implementation uses the phase–orientation interaction functions derived in the manuscript, and integrates the coupled dynamics with periodic boundary conditions. 

## Contents
- `simulation_numba.py` — main simulation script (optionally accelerated with Numba)

## Requirements
- Python 3.9+ (3.10+ recommended)
- `numpy`
- `matplotlib`
- Optional but strongly recommended: `numba` (for faster pairwise accumulation) :contentReference[oaicite:4]{index=4} :contentReference[oaicite:5]{index=5}
- `ffmpeg` (needed to save the MP4 animation) :contentReference[oaicite:6]{index=6}

Install Python dependencies:
```bash
pip install numpy matplotlib
pip install numba   # optional but faster

quick run:
python3 simulation_numba.py --rho 0.3 --D_r 0.001 --seed 54892