Compare the latest tech products

Japan team creates world's first "crab computer"


April 15, 2012

An Australian soldier crab, key component of the crab computer (Photo: LiquidGhoul, CC 3.0)

An Australian soldier crab, key component of the crab computer (Photo: LiquidGhoul, CC 3.0)

Image Gallery (4 images)

Wouldn't your latest generation tablet be way cooler if it ran on live crabs? Thanks to Yukio-Pegio Gunji and his team at Japan’s Kobe University, the era of crab computing is upon us ... well, sort of. The scientists have exploited the natural behavior of soldier crabs to design and build logic gates - the most basic components of an analogue computer. They may not be as compact as more conventional computers, but crab computers are certainly much more fun to watch.

Electricity and microcircuits aren’t the only way to build a computer. In fact, electronic computers are a relatively recent invention. The first true computers of the 19th and early 20th centuries were built out of gears and cams and over the years many other computers have forsaken electronics for marbles, air, water, DNA molecules and even slime mold to crunch numbers. Compared to the slime mold, though, making a computer out of live crabs seems downright conservative.

The scientists at Kobe university didn’t just pop down to the market for their crabs. They focused their attention on a particular species: soldier crabs (Mictyris longicarpus). These are found in on the beaches of Australia and surrounding islands where they regularly provide visitors with surreal performances. Individually, the soldier crabs are timid little blue crustaceans that won’t even go into the water, but when they form into swarms, which can number in the tens of thousands, it’s a different matter.

Once set in motion by something like a bird’s shadow passing overhead, the soldier crabs tear off like an army of demented robots. They rush about in a strange, boiling mass that seem like exercises in utter chaos, yet the swarm itself moves in a remarkably consistent straight line. This determined, predictable manner of movement is the key to the crab computer.

When two swarms of soldier crabs collide something remarkable happens. Instead of collapsing into a riotous battle, the two swarms meet in a manner that’s as predictable as a pair of billiard balls hitting each other. When two identical billiard balls collide head on they, ideally and all things being equal, rebound off one another in the opposite direction. If they strike at an angle, they fly away from each other at the opposite angle. It’s all very predictable Newtonian mechanics. In the case of soldier crabs it’s like two balls of soft modelling clay hitting each other. They squash together at the new, larger swarm and head off at the combined angle of the original swarms with a remarkable degree of predictability.

Exploiting this behavior, the Kobe team figured out how to use the crabs to make logic gates. They did this by placing two swarms of crabs in a simple maze. In one configuration, the swarms were set off in two legs of the maze. When they collide, they head off down a third leg. Since the swarms always go in the same direction, if only one swarm is placed in the maze, it will always go down the same output leg as if it had collided with the other swarm and not double back up the other leg. In this way, the maze becomes an OR gate. If one or two swarms enter the maze, the output is always positive. One swarm OR another swarm in the maze equals a positive, otherwise negative.

The researchers also used another maze was in the shape of an X with a fifth vertical leg stuck running up from the center. In this maze, letting loose one swarm resulted in the swarm passing straight through the center and into the opposite leg of the X. If two two swarms are loosed, they collide in the center, sending them up through the center leg. This is the crab equivalent of an AND gate. One swarm going in provides a negative. Two provides a positive. One swarm AND another swarm equals positive, otherwise negative.

With these two gates, it would be theoretically possible to build more complicated logic gates and from there, full-fledged computers.

Currently, there are no plans to build a full-blown crab computer, but if seafood cybernetics ever does take off, this, they will say, it where it all began.

The research was recently outlined in a paper entitled Robust Soldier Crab Ball Gate [PDF] in the journal Complex Systems

About the Author
David Szondy David Szondy is a freelance writer based in Monroe, Washington. An award-winning playwright, he has contributed to Charged and iQ magazine and is the author of the website Tales of Future Past. All articles by David Szondy

Terry prattchett and the UnSeen University have done this with their HEX Anthill computer.

Karsten Evans

Logic gates are the basis of a digital computer, not an analog computer. If anything I'd say an operational amplifier is the basis of analog computer. Also note that in computing I think its common to use the US spelling analog without the 'ue' (adjective) as opposed to the noun ('analogue')


Perhaps this could be miniaturized using the crab louse (Pthirus pubis) instead of the soldier crab (Mictyris longicarpus). Maybe not social in the same way...? I wouldn't want to experiment with swarms of thousands of them.


Very creative project with the additional advantage that when the computer becomes out-dated it will not go into land-fill - the parts could end up on someone's dinner-table !

Strange though how someone feels the need to complain about the correct English spelling of analogue. His reason that the common useage is American rather than English is quite ridiculous - after all it is very common for people to drink and drive but that hardly makes it something to be emulated! Do Americans complain about the way the French, Germans and Italians spell in their languages?


I think they use the term analog to mean that the computer lack an electric power source. Digital has come to mean anything with electronics loosing the original meaning of digits or numbers.

Marco Gonzalez

This crab computer sounds like it would have been very much at home in one of Douglas Adams' universes.


Yes Professor - to plagarise the colour of the Yanquie mentality.

We always use the proper English analogue circuitry - because the Meriken spelling chequers really suk.

Mr Stiffy
Post a Comment

Login with your Gizmag account:

Related Articles
Looking for something? Search our articles