惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
博客园_首页
H
Help Net Security
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
GbyAI
GbyAI
Scott Helme
Scott Helme
D
Docker
Hacker News: Ask HN
Hacker News: Ask HN
P
Privacy & Cybersecurity Law Blog
Jina AI
Jina AI
雷峰网
雷峰网
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
G
GRAHAM CLULEY
C
Cisco Blogs
The Hacker News
The Hacker News
F
Full Disclosure
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
Recent Announcements
Recent Announcements
G
Google Developers Blog
量子位
K
Kaspersky official blog
Cisco Talos Blog
Cisco Talos Blog
The Cloudflare Blog
A
About on SuperTechFans
C
Cybersecurity and Infrastructure Security Agency CISA
Last Week in AI
Last Week in AI
博客园 - 三生石上(FineUI控件)
Microsoft Security Blog
Microsoft Security Blog
Martin Fowler
Martin Fowler
T
Tenable Blog
P
Palo Alto Networks Blog
H
Heimdal Security Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
Schneier on Security
Schneier on Security
The Register - Security
The Register - Security
F
Fortinet All Blogs
Stack Overflow Blog
Stack Overflow Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
The Blog of Author Tim Ferriss
N
News and Events Feed by Topic
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
V
V2EX
爱范儿
爱范儿

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
GitHub - ninjahawk/swarmsim: Computational simulations of emergent flocking, phase transitions, and predator-prey dynamics
ninjahawk1 · 2026-05-22 · via Hacker News: Show HN

Emergent Flocking & Collective Evasion

Python NumPy Matplotlib Course Status

PHY 351 — Independent Summer Research  |  UNCG

A computational study of force-based flocking agents on a periodic 2D domain, extended with predator-prey dynamics. Based on Charbonneau (2017), Ch. 10.

▶ Open Interactive Demo  ·  📋 Research Log


Model

N agents move on a periodic unit square under four forces each timestep:

Force Description
Repulsion Short-range — keeps agents from overlapping (range 2r₀)
Alignment Drives velocity toward mean of neighbors within r_f
Self-propulsion Corrects speed toward target v₀
Noise Uniform random perturbation in [−η, η]

Key analytical result: equilibrium cruise speed is v_eq = v₀ + α/μ — not v₀. Derived from force balance in an aligned flock; verified experimentally to within 0.002 across four α values.

Default parameters: N=350, r₀=0.005, ε=0.1, r_f=0.1, α=1.0, v₀=1.0, μ=10.0, η=0.5, dt=0.01


Code Architecture

The codebase has two layers.

Core layer (model.py) — object-oriented foundation for all current and future experiments.

Flock          — holds prey positions, velocities, and all physics parameters
                 flock.evolve(predators=[...]) advances one timestep
Predator       — configurable predator agent; strategy='naive'|'encircle',
                 coord_alpha for predator-predator repulsion, enc_radius for encirclement
simulate()     — runs a full experiment, returns Phi and distance timeseries

New experiments import from model.py. To add a new experiment: import Flock, Predator, and simulate from model.py, set parameters, call simulate().

Legacy layer (flocking.py) — procedural implementation that predates the OOP refactor. The earlier experiment scripts (predator.py, multi_predator.py, encirclement.py, etc.) import from here. They are retained intact for reproducibility and are not broken by the model.py refactor.

Repository Layout

root/
  model.py          ← current API. New experiments import from here.
  geometry.py       ← shared helpers (Rg, AR) — used by both old and new scripts.

  flocking.py       ← legacy: procedural baseline.        [keep for reproducibility]
  analysis.py       ← legacy: validation sweeps.          [keep for reproducibility]
  predator.py       ← legacy: single-predator API.        [keep for reproducibility]
  multi_predator.py ← legacy: multi-predator helpers.     [keep for reproducibility]
  encirclement.py   ← legacy: encirclement scaffolding.   [keep for reproducibility]

predator/    predator strategy experiments
contagion/   panic, epidemic, and vaccination experiments
phase/       phase-transition and statistical-mechanics experiments
3d/          three-dimensional extension experiments
figures/     output PNG figures
outputs/     captured text/log output from runs

The five legacy scripts at root are intentionally retained: every numbered finding F5 through F16 was generated by them, and rerunning them must produce identical figures. New experiments should not import from them — they have no if __name__ == "__main__" guard and will side-effect on import. Use model.py instead.

Experiment scripts in subfolders automatically add the project root to sys.path so they can import the core library files above.

Investigation Progression

The experiments follow a logical arc, each motivated by the result before it:

Stage Question Scripts
1. Baseline Does the model reproduce expected flocking behavior? flocking.py, analysis.py
2. Phase transition Is the solid-to-fluid transition a true phase transition? phase/phase_transition.py, phase/compactness_phase.py, phase/compactness_search.py
3. Geometry What shape does the flock take? geometry.py
4. Single predator Does flocking help prey survive? predator.py
5. Predator strategy hierarchy How many and how coordinated do predators need to be to break the flock? multi_predator.pypredator/evasion_analysis.pypredator/coordinated_predators.pyencirclement.pypredator/encirclement_scaling.pypredator/fragmentation.py
6. Encirclement limits Does the encirclement floor scale with N? Is it stable long-term? Does a gap help the flock? predator/large_N_encirclement.pypredator/renc_scaling.pypredator/long_encirclement.pypredator/encirclement_gap.py
7. Minimum viable size Below what N does collective evasion fail? predator/min_flock_size.py
8. Reversibility Does encirclement damage reverse after predator removal? predator/reunion.py
9. Realistic predator What changes with limited sensing range? predator/predator_sensing.py
10. Internal panic Does panic from within disrupt the flock? contagion/panic.py
11. Contagion What if panic spreads by contact? (SI and SIS models) contagion/panic_contagion.pycontagion/contagion_sis.py
12. Hybrid stressors How do predation and contagion interact? contagion/hybrid_stressors.pycontagion/hybrid_sis.pycontagion/critical_shift.pycontagion/outbreak_removal.py
13. Herd immunity How many immune agents are needed to quench an outbreak? contagion/herd_immunity.pycontagion/targeted_immunity.py
14. Segregation Does a mixed-speed population spatially separate? contagion/segregation.pycontagion/segregation_alpha.py
15. Adaptive predators Do predators that track flock geometry outperform fixed strategy? predator/adaptive_encirclement.py
16. Vaccination strategies Can targeting high-degree or spatially-distributed agents reduce herd-immunity threshold? contagion/targeted_immunity.pycontagion/spatial_vaccination.py
17. Phase transition mechanism Why does the model lack a true phase transition? Is it the soft repulsion, or something else? phase/hard_repulsion.pyphase/langevin_repulsion.pyphase/langevin_hexatic.py
18. 3D extension Does flocking and the v_eq result hold in three dimensions? Extended noise sweep 3d/flocking3d.py3d/flocking3d_noise.py

Results

Flock Formation & Coherence

Flock forms reliably above α ≈ 0.1. With all forces active, the order parameter Φ stays above 0.97 up to noise η ≈ 10, then collapses near η ≈ 20. The alignment force makes the system dramatically more noise-resistant than the repulsion-only case.


Phase Transition Analysis

Finite-size scaling across N = 25–200 (with compactness fixed via r₀ = √(C/πN)) shows KE/N curves are N-independent and susceptibility χ = N·Var(KE/N) increases monotonically at every tested compactness value (C = 0.10–0.78). No diverging peak appears anywhere. The solid-to-fluid transition is a smooth crossover throughout — a consequence of the soft repulsion potential used in this model. A true phase transition would require hard-core exclusion.


Predator Strategy Hierarchy

Flocking prey maintain Φ ≈ 1.0 under sustained predator pressure; non-flocking prey scatter to Φ ≈ 0.1 almost immediately. A minimum evasion buffer distance (~0.10) persists regardless of predator aggression.

With multiple predators, flock coherence remains high (Φ > 0.97) because all predators independently target the same center of mass and co-localize (measured separation ~0.001). This self-undermining behavior was confirmed in evasion_analysis.py.

Adding predator-predator repulsion (coordinated predators) successfully spreads predators out — separation rises to 0.29 — but Φ never drops below 0.92. The flock absorbs distributed pressure from multiple directions without breaking.

Encirclement (each predator assigned a fixed compass angle, targeting CoM offset by R_enc in that direction) is the first strategy to substantially disrupt the flock. At n_pred = 6, Φ drops to 0.77. The minimum predator-prey distance falls to 0.050 vs 0.105 for naive predators.

This Φ = 0.77 does not represent dissolution. fragmentation.py shows that encirclement divides the flock: predators compress agents spatially (60 clusters → 24 larger clusters) while splitting them directionally — each sub-flock escapes through a gap between predators and remains internally coherent (sub-flock Φ = 0.997). This is analogous to wolf-pack herding.


Key Findings

40 findings documented — full evidence and figures: findings.md

Selected highlights:

# Finding
1 Cruise speed is v_eq = v₀ + α/μ (exact analytical result, not just v₀)
2 Solid-to-fluid transition is a smooth crossover at all compactness values — no true phase transition
5 Flocking prey maintain Φ ≈ 1.0 under predator pressure; non-flocking scatter to Φ ≈ 0.1
11 Multiple naive predators co-localize at CoM, self-undermining — paradoxically helps flock
14 Encirclement (fixed-angle targets) is the only strategy to substantially disrupt the flock: Φ = 0.77 at n=6
16 Encirclement causes flock DIVISION (coherent sub-flocks heading in different directions), not dissolution
22 Encirclement damage is fully reversible: sub-flocks reunite within ~10 time units of predator removal
25 SIS contagion has a clean epidemic threshold at β/γ ≈ 1; flock coherence tracks it
30 Herd-immunity threshold in the flock is ~2× mean-field prediction due to spatial clustering
31 Encirclement scaling collapses on R_enc/Rg; optimal at R_enc/Rg ≈ 0.5 — strategy is size-invariant
32 Long-time encirclement is intermittent: Φ oscillates 0.4–0.95 in a sustained merge/split cycle
33 Incomplete encirclement (1 gap) is more disruptive than full ring; no global escape-route detection
34 Predator removal after encirclement+SIS: kinematic damage reverses in ~10 tu, epidemic persists ~100+ tu
35 Adaptive R_enc = 0.5×Rg outperforms fixed radius: Φ 0.778→0.713, high-coherence dwell time −34%
36 Targeted vaccination null: hub-targeting fails; kinematic reorganization restores hub positions
37 Spatial vaccination null: farthest-point spatial sampling fails; kinematic mixing scrambles positions
38 Repulsion exponent null: sweeping n=1.5→12 gives identical crossover; non-equilibrium driving is cause
39 Langevin thermalizes correctly (KE/N=kT to 1%), but chi_KE cannot detect KTHNY structural melting
40 **Hexatic

Full documentation, evidence, and figures for each finding: findings.md


Repository

Core

File Description
model.py OOP foundationFlock, Predator classes; flock.evolve(); simulate() helper. Import this for new experiments.
flocking.py Procedural core — buffer zone, vectorized forces, run loop, order parameter. Used by legacy experiment scripts.

Experiments (legacy — procedural, import from flocking.py)

File Investigation
analysis.py Validation limiting cases and parameter sweeps (Findings 1–4)
phase_transition.py Finite-size scaling of repulsion-only transition
compactness_phase.py Fixed-compactness finite-size scaling at C=0.10 and C=0.78
compactness_search.py Phase transition search across C = 0.15–0.60
geometry.py Radius of gyration and aspect ratio analysis
predator.py Single-predator extension — 4 experiments
multi_predator.py Multiple naive predators
evasion_analysis.py Predator co-localization diagnostic
coordinated_predators.py Predator-predator repulsion experiments
encirclement.py Encirclement strategy — radius sweep and flock-breaking threshold
encirclement_scaling.py Encirclement threshold vs flock size N
fragmentation.py Flock fragmentation analysis — cluster detection, sub-flock coherence

Experiments (new — import from model.py)

File Investigation
panic.py Panic dynamics — fraction of erratic agents (Finding 18)
predator_sensing.py Limited predator sensing range (Finding 19)
panic_contagion.py SI panic contagion — no recovery (Finding 20)
contagion_sis.py SIS contagion with recovery rate γ; epidemic threshold sweep (Finding 25)
reunion.py Sub-flock reunion after predator removal (Finding 22)
min_flock_size.py Minimum N for collective coherence and evasion (Finding 21)
hybrid_stressors.py Combined predation + SI contagion (Finding 23)
hybrid_sis.py Sub-threshold SIS + encirclement; compression amplification (Finding 26)
segregation.py Active/passive v0 contrast — null segregation result (Finding 24)
segregation_alpha.py Alpha-contrast segregation with local-purity diagnostic (Finding 27)
large_N_encirclement.py Encirclement at N=350, 700, 1000 (Finding 28)
critical_shift.py Beta sweep with/without encirclement; threshold shift (Finding 29)
herd_immunity.py Immune sub-population sweep at supercritical SIS (Finding 30)
renc_scaling.py R_enc sweep at N=350 and N=1000; collapse on R_enc/Rg (Finding 31)
long_encirclement.py 30000-step encirclement; merge/split dynamics (Finding 32)
encirclement_gap.py Incomplete encirclement and gap detection (Finding 33)
outbreak_removal.py Encirclement+SIS then predator removal; epidemic persistence (Finding 34)
targeted_immunity.py Targeted vs random vaccination at supercritical SIS
adaptive_encirclement.py Adaptive R_enc = 0.5×Rg vs fixed R_enc

Supporting files

File Description
make_demo.py Generates figures/demo.gif for this README
build_report.py Generates report_draft.pdf from report_draft.md using reportlab
sim_demo.html Interactive browser simulation (open locally or via htmlpreview link above)
logs.html Time log and research log — open in browser
findings.md Running notes on all 34 findings with figures
report_draft.md Full research report in Markdown

Run

# Validation and parameter sweeps
python analysis.py

# Phase transition analysis
python phase_transition.py
python compactness_phase.py
python compactness_search.py

# Predator strategy hierarchy
python predator.py
python multi_predator.py
python evasion_analysis.py
python coordinated_predators.py
python encirclement.py
python encirclement_scaling.py
python fragmentation.py

# Panic and contagion
python panic.py
python panic_contagion.py
python contagion_sis.py

# Hybrid stressors
python hybrid_stressors.py
python hybrid_sis.py
python outbreak_removal.py

# Scaling and herd immunity
python large_N_encirclement.py
python renc_scaling.py
python critical_shift.py
python herd_immunity.py
python targeted_immunity.py

# Long-time and adaptive dynamics
python long_encirclement.py
python encirclement_gap.py
python adaptive_encirclement.py

Open sim_demo.html in a browser for a real-time interactive simulation with adjustable parameters.


Tools

  • Language: Python 3 — numpy, matplotlib, reportlab
  • AI assistance: Claude (Anthropic) — code generation, debugging, research guidance. All AI use documented in research log.

Charbonneau, P. (2017). Natural Complexity: A Modeling Handbook. Princeton University Press.
Silverberg et al. (2013). Collective motion of humans in mosh and circle pits. Physical Review Letters, 110, 228701.