Skip to content

About

How does a cuttlefish change color? An interactive, open-source explainer. Glassbox No. 211.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

How does a cuttlefish change color?

CuttlefishClear

How does a cuttlefish change color?
A cuttlefish is colour-blind, yet it can paint a new disguise over its whole body in under a second. Put it on sand, gravel or a checkerboard and watch it choose.

▶ Play with it  ·  Read the 60-second explainer  ·  Watch the 40-second video

Glassbox No. 211 Nature Code: MIT Content: CC BY 4.0 Privacy: explained

In 60 seconds

  1. A float, a fin and ten arms. A cuttlefish is a mollusc, not a fish. It has a chalky cuttlebone float inside, a fin all round its body, eight arms and two shooting tentacles, a W-shaped pupil, an ink sac, and skin layered with pigment sacs, shiny iridophores and white leucophores.
  2. A living screen. Thousands of pigment sacs are pulled open by tiny muscles on nerve signals, so the skin changes in under a second. The cuttlefish switches on named patches such as the white square to make uniform, mottle or disruptive patterns, choosing by the size and contrast of light objects around it.
  3. Colour-blind eyes and a self-pumping float. With one visual pigment a cuttlefish sees brightness, not colour, though it may read polarised light. Its cuttlebone hovers it by osmosis: pump salt out of the chamber liquid and gas takes its place. About 5% gas makes it weigh the same as sea water.
  4. Shows and tricks. Giant cuttlefish males flash bold stripes at the breeding reefs of South Australia; small sneaker males dress as females to slip past them. Hunters ripple passing clouds, then strike with their tentacles in a few hundredths of a second.
  5. Cuttlefish and people. India lands cuttlefish on both coasts, led by the pharaoh cuttlefish, and exported about 67,000 tonnes of frozen cuttlefish in 2025–26. Cuttlebone feeds cage birds, sepia ink became an artists' brown, and UK law now counts cephalopods as sentient.
  6. How we found out. Aristotle saw cuttlefish hide in their ink. Denton and Gilpin-Brown weighed the cuttlebone in 1961, Hanlon and Messenger catalogued body patterns in 1988, checkerboards revealed the camouflage rule, and in 2021 cuttlefish passed a version of the marshmallow test.

Words worth knowing

Term Meaning
Chromatophore An elastic bag of yellow, red or brown pigment in the skin, pulled open by muscles on a nerve signal.
Leucophore A skin cell packed with tiny spheres that scatter every colour, so it looks white.
White square A pale square patch on a cuttlefish's back, key to its disruptive camouflage.
Body pattern The whole look a cuttlefish shows at once, built from named skin components.
Disruptive pattern Bold light and dark patches that break up an animal's outline.
Cuttlebone The chalky, chambered float inside a cuttlefish that holds gas and liquid.
Osmosis Water moving through a membrane toward saltier liquid; it lets the cuttlefish drain its float.
Neutral buoyancy Weighing the same as the water you displace, so you neither sink nor rise.
Polarised light Light whose waves all vibrate in one direction, which cuttlefish can see and we cannot.

A short history

From Aristotle's ink cloud to a skin read pixel by pixel.

  • 350 BCE · Hiding in its own ink (Aristotle, Athens)
  • 1780 · Sepia becomes an artists' paint (Jakob Seydelmann, Dresden)
  • 1961 · Weighing the float (Eric Denton and J. B. Gilpin-Brown, Plymouth)
  • 1988 · A catalogue of patterns (Roger Hanlon and John Messenger, United Kingdom and USA)
  • 1999 · The sneaker in disguise (Mark Norman, Julian Finn and Tom Tregenza, Upper Spencer Gulf, South Australia)
  • 2001 · The checkerboard tests (Chuan-Chin Chiao and Roger Hanlon, Woods Hole)
  • 2006 · A colour-blind master of colour (Lydia Mäthger, Alexandra Barbosa, Simon Miner and Roger Hanlon, Woods Hole)
  • 2018 · Watching every pixel (Sam Reiter, Gilles Laurent and colleagues, Frankfurt)

The full story, with 24 moments, charts, people and 26 sources: glassbox.how/e/cuttlefishclear/history. The data lives in history.json.

Video and slides

Made with the Glassbox studio from this box's storyboard (window.glassbox.director). Free to reuse under CC BY 4.0.

Video: How does a cuttlefish change color?

Carousel slide-1 Carousel slide-2 Carousel slide-3 Carousel slide-4

File What Size
glassbox/reel.mp4 Reel / Short, with captions and soundtrack 1080×1920
glassbox/video.mp4 YouTube video, with captions and soundtrack 1920×1080
glassbox/slide-1…10.jpg Instagram carousel 1080×1350
glassbox/thumb.jpg YouTube thumbnail 1280×720
glassbox/cover.jpg Share card and repo social preview 1200×630
glassbox/history-reel.mp4 “History in 10 moments” Reel / Short 1080×1920
glassbox/history-slide-*.jpg History carousel 1080×1350
glassbox/post.json Post copy and schedule used by the publish kit

Privacy

This box has no accounts and no ads, and it ships its own fonts and libraries. When you run it yourself it sends nothing anywhere. On glassbox.how, the site's /bar.js also loads Glassbox's analytics: Google Analytics to count visits (it asks first in the EU, UK and Switzerland, and stays off when your browser sends Global Privacy Control or Do Not Track) and ClickTrust to detect bots.

It remembers a few things in your own browser only, and never sends them anywhere:

Browser storage key What it holds
cuttlefishclear.v1 Which chapters you have opened, your best quiz scores, and sound on or off.

Exactly what each one sees is at glassbox.how/privacy.

Licences

  • Code: MIT. Use it, change it, ship it.
  • Explanations, text, images and videos (glassbox.json, glassbox/): CC BY 4.0. Credit “Glassbox, glassbox.how/e/cuttlefishclear”.
  • Third-party parts keep their own licences: three.js (MIT), Geist, Instrument Serif (SIL OFL 1.1).
  • The Glassbox name and logo aren't covered by either licence. See the terms.

Found a mistake? Open an issue. Corrections happen in public.

Run it

It's plain HTML, CSS and JavaScript. No build step and no dependencies. Run locally, it contacts no other website.

python3 -m http.server 8000

Three.js and the fonts ship in vendor/ and fonts/, so it also works offline.

Then open http://localhost:8000.

How it's built

File What
index.html, css/app.css The page and its styles
js/app.js, js/stage.js, js/ui.js, js/kit.js The shared Glassbox 3D engine: chapters, 3D stage, controls, quiz, video director
js/chapters/*.js One file per chapter: the 3D model, controls, text, key terms, quiz and video scenes
js/cuttle.js The body-pattern painter and camouflage rule, the cuttlebone buoyancy and osmosis model, the procedural cuttlefish, substrates, the W-shaped eye and chart boards
glassbox.json Title, question, explainer beats, key terms, browser storage and credits shown on glassbox.how
reel in each chapter The storyboard the Glassbox studio records into short videos
glassbox/ The published video, slides, thumbnail and post copy
fonts/, vendor/three/ Self-hosted Geist and Instrument Serif (SIL OFL 1.1) and three.js (MIT)

About

How does a cuttlefish change color? An interactive, open-source explainer. Glassbox No. 211.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages