<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/mobula-movement-7qsm9nbgy" -->

---
title: Mobula Movement | daily.dev
description: A diver's footage of a school of over 100 mobula rays in open water is used to illustrate Craig Reynolds' 1986 Boids flocking model. The rays react to a...
canonical: https://daily.dev/posts/mobula-movement-7qsm9nbgy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Mobula Movement | daily.dev
og:description: A diver's footage of a school of over 100 mobula rays in open water is used to illustrate Craig Reynolds' 1986 Boids flocking model. The rays react to a...
og:url: https://daily.dev/posts/mobula-movement-7qsm9nbgy
og:image: https://api.daily.dev/og/posts/7qsm9NBGY.png
og:image:alt: Mobula Movement
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Mobula Movement

**[jjwallace](https://daily.dev/sources/fs6rc0qc9l7lnug06lk3k)** · [@jjwallace](https://daily.dev/jjwallace) · 1 min read · 0 upvotes · 0 comments

## Summary

A diver's footage of a school of over 100 mobula rays in open water is used to illustrate Craig Reynolds' 1986 Boids flocking model. The rays react to a diver's presence through a chain reaction propagating through the school, explained as sensing driven by the lateral line (pressure-sensitive hair cells) rather than vision or electroreception. The three core Boids rules — separation, alignment, cohesion — are presented as mathematical equations and mapped onto the biological mechanism, showing that each ray reacts only to its nearest pressure-sensing neighbor, producing a ripple effect with no leader.

## Content

I observed this school of 100+ mobula rays in open water while scuba diving.
avg. wingspan ~1.4 Meters
Let me slow it down for you when the reaction to the diver/me appears.

Please observe video here:
[https://lnkd.in/p/evY8n7GJ](https://lnkd.in/p/evY8n7GJ)

What's happening:
Not vision, not electroreception (that's near-field, for sensing a heartbeat centimeters away which they can do). It's the lateral line — pressure-sensitive hair cells along the body. One ray moves, displaces water, its neighbor feels the pressure wave and reacts — chaining through the school.

Which is Boids.
Reynolds' 1986 flocking model: three local rules, no leader.
For each individual i, with neighbors j within radius r:

Separation:
   S₍ᵢ₎ = −Σⱼ (pⱼ − pᵢ)
Alignment:
   A₍ᵢ₎ = (1/n)Σⱼ vⱼ − vᵢ
Cohesion:
   C₍ᵢ₎ = (1/n)Σⱼ pⱼ − pᵢ
Update:
   vᵢ ← vᵢ + w₁S₍ᵢ₎ + w₂A₍ᵢ₎ + w₃C₍ᵢ₎
   pᵢ ← pᵢ + vᵢ

A mobula's "neighbor" isn't visual — it's whoever's pressure wave it can feel. Same three rules, different sensor.  Watch carefully and you will see the transition from one neighbor to the next like a ripple from one first observer.

## Similar posts on daily.dev

- [Check Out This Physics-Based Fish Animation](https://daily.dev/posts/check-out-this-physics-based-fish-animation-spj4m2jv6) · 80 LEVEL · 0 upvotes · 0 comments
- [Procedural Manta Ray System Made With Unity](https://daily.dev/posts/procedural-manta-ray-system-made-with-unity-uyuf56cfw) · 80 LEVEL · 0 upvotes · 0 comments
- [Entangled robotic matter with cohesive motion](https://daily.dev/posts/entangled-robotic-matter-with-cohesive-motion-2pf3wbqjc) · Robohub · 0 upvotes · 0 comments
- [The science of how fireflies stay in sync](https://daily.dev/posts/the-science-of-how-fireflies-stay-in-sync-nvenooyws) · Ars Technica · 0 upvotes · 0 comments

---

Tags: [#algorithms](https://daily.dev/tags/algorithms)

[View this post on daily.dev](https://daily.dev/posts/mobula-movement-7qsm9nbgy)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/mobula-movement-7qsm9nbgy","headline":"Mobula Movement","text":"A diver's footage of a school of over 100 mobula rays in open water is used to illustrate Craig Reynolds' 1986 Boids flocking model. The rays react to a diver's presence through a chain reaction propagating through the school, explained as sensing driven by the lateral line (pressure-sensitive hair cells) rather than vision or electroreception. The three core Boids rules — separation, alignment, cohesion — are presented as mathematical equations and mapped onto the biological mechanism, showing that each ray reacts only to its nearest pressure-sensing neighbor, producing a ripple effect with no leader.","url":"https://daily.dev/posts/mobula-movement-7qsm9nbgy","datePublished":"2026-09-08T16:26:21.724Z","dateModified":"2026-09-08T16:26:41.398Z","author":{"@type":"Person","name":"jjwallace","url":"https://daily.dev/jjwallace","image":"https://media.daily.dev/image/upload/s--aQWk0I3q--/f_auto/v1769970966/avatars/avatar_FS6rc0Qc9L7LNUg06Lk3K?_a=BAMAMiiu0","description":"Game dev making cyber forensic web apps.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":770}},"image":"https://media.daily.dev/image/upload/s--w89kjxKp--/f_auto/v1788884781/posts/7qsm9NBGY?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/fs6rc0qc9l7lnug06lk3k","name":"jjwallace"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"jjwallace","item":"https://daily.dev/sources/fs6rc0qc9l7lnug06lk3k"},{"@type":"ListItem","position":3,"name":"Mobula Movement"}]}
```

