# Bringing Characters to Life

## Introduction

![](https://cdn-learn.adafruit.com/assets/assets/000/030/409/medium800/robotics_banner.jpg?1454745203)

Whether robots, animatronics or purely onscreen avatars, how your creation looks and moves will make or break an emotional connection with your audience. Will they regard it as believable and “alive,” or a dull and obvious assemblage of mechanisms and software?

As technology-minded people, we have a strong inclination to break problems down into purely technical solutions…quantifiable things like servo torque or RAM usage…but life, and the simulation thereof, is as much&nbsp;(perhaps more so)&nbsp;dependent on informed aesthetic judgments. It’s a matter of applying both science _and_ art. Either medium can produce impressive and interesting things; it’s when they’re working _together_ that the effect becomes sublime.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/410/medium800/robotics_brain.gif?1454746135)

Programmers sometimes use the term “wetware” (with varying degrees of seriousness) to describe those parts of a system that are neither _hardware_ nor _software,_ but rely on the _human brain._ **Good design&nbsp;can wring the most from _all three._**

In my experience having worked many positions over the years, I’m impressed how a diverse range of very _technical_ fields (for example, user interface design) all benefit from tapping into our psychology and _emotions,_ much as art and theatre do. What’s more, I marvel at just how closely the human mind sits continually on the brink of _suspension of disbelief._ The slightest _bump_ will pull people into fantasy. It’s something I call the “lion dancer effect”…

![](https://cdn-learn.adafruit.com/assets/assets/000/030/392/medium800/robotics_LionDancers.jpg?1454736749)

_<sup><a href="https://commons.wikimedia.org/wiki/File%3ANouvel_an_chinois_2015_Paris_13_danse_du_lion.jpg">Lion dance during Chinese New Year 2015</a> by <a href="https://commons.wikimedia.org/wiki/User:Myrabella">Myrabella</a> (Own work) [<a href="http://creativecommons.org/licenses/by-sa/4.0">CC BY-SA 4.0</a>], via Wikimedia Commons</sup>_

Perhaps you’ve seen lion dancers perform, especially around Chinese New Year. The costumes do little to conceal the human performers inside…in fact, they’ll often lift the lion’s head high above their own, placing themselves in plain sight. And yet…a moment later, with the head pulled back down, almost instantly you perceive the lion again as its own living character. They haven’t just mastered a dance, they’ve mastered&nbsp;_invisibility._ Your mind is eagerly tricked by a convincing performance. This isn’t just about dance…it’s true of every field of endeavor.

 **You can learn that craft, and you can instill it in your creations.**

Alongside studying circuits and code, consider rounding out your knowledge with dips into biology, psychology, art, film, theatre and stage magic. Not only will your creations better connect with people, but&nbsp;you can watch Pixar films and the Muppets and call it “research.”

![](https://cdn-learn.adafruit.com/assets/assets/000/030/411/medium800thumb/robotics_flail.jpg?1454746381)

# Bringing Characters to Life

## Movement

Movement is so important, I put it first. The lion dancer demonstrated: even a simple design becomes “real” through convincing movement. The opposite is seldom true; good looks won’t save a lousy performance. Motion _is_ emotion.

Few will admit to liking mimes, but face it: they are&nbsp;_masters_&nbsp;of physical storytelling. The Swiss&nbsp;_[Mummenschanz](https://www.mummenschanz.com)_&nbsp;troupe can set up a joke without uttering a word…then deliver the punchline with not an actor or prop on stage. Like assembly language is to programming, theirs is absolute minimalism of theatre…[watch](https://www.youtube.com/results?search_query=mummenschanz) how they’re able to convey emotion from the most unexpected places.&nbsp;_Your mind_&nbsp;completes their act.

![robotics_mime.jpg](https://cdn-learn.adafruit.com/assets/assets/000/030/412/medium640/robotics_mime.jpg?1454746871)

Magicians often use _misdirection_ — diverting your focus of attention — to achieve seemingly impossible feats. How might you apply this in, say, a robot? Maybe there’s some unavoidable weakness in one area of motion…some _mechanical-ness_ that gives the trick away.…could a flourish of action elsewhere distract your audience and cover for this?

And animation, of course, is _king_ of visual storytelling…

Countless books have been written on the subject, but the seminal tome is&nbsp;**_[Disney Animation: the Illusion of Life](http://www.amazon.com/Illusion-Life-Disney-Animation/dp/0786860707)_**&nbsp;by Ollie Johnston and Frank Thomas, chronicling their work among Disney’s “Nine Old Men” throughout the medium’s formative years.

![robotics_illusion-of-life-cover.jpg](https://cdn-learn.adafruit.com/assets/assets/000/030/404/medium640/robotics_illusion-of-life-cover.jpg?1454740509)

 **Chapter three** in particular warrants our attention…not about history or technique, it describes the animators’ _core principles,_ codifying the visual “language” that defines western animation to this day.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/405/medium800/robotics_chapter-three.jpg?1454740644)

 **These principles are still entirely&nbsp;relevant** in our computer-generated age…John Lasseter of Pixar [authored&nbsp;a SIGGRAPH paper](http://dl.acm.org/citation.cfm?id=37407)&nbsp;following them point-for-point…and many of these ideas translate _beyond_ the screen…it’s just good _theatrical_ advice. If you can’t justify buying the entire massive book, this most vital chapter has been distilled into many articles and videos online, even Wikipedia has an entry: _[Twelve Basic Principles of Animation](https://en.wikipedia.org/wiki/12_basic_principles_of_animation)._ The full text of chapter three (including animated specimens) is available in the _[Disney Animated](https://itunes.apple.com/us/app/disney-animated/id632312737)_&nbsp;app for iPad.

Occasionally, the right action is _inaction.&nbsp;Too much_ motion can be just as damning as too little. Watch squirrels run around eating acorns in the park…notice how they periodically “lock up” to focus on some sound or action. Small, inconsequential motions can add believability too. 1933 audiences insisted the T. rex in _King Kong&nbsp;_was real because it _scratched itself…_a special effect wouldn’t do that, it was thought.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/416/medium800/robotics_kong.jpg?1454749911)

# Bringing Characters to Life

## Form

Your eyes deceive you. Nothing is what it seems. People are not stick figures. Eyes are not football shapes. Cat ears are not triangles.

Homework assignment: go on Amazon and buy the oldest, most dog-eared early edition you can find of Betty Edwards’ book&nbsp;**_[Drawing on the Right Side of the Brain](http://www.amazon.com/Drawing-Right-Brain-Betty-Edwards/dp/0874770882)._** Reason for getting an old copy is that each successive edition got a little longer and strayed a little further from Edwards’ central idea: that we see the world through a&nbsp;_perceptual filter,&nbsp;_one that turns things into symbols and words…and when we try to turn those symbols back into images, it usually ends in heartbreak.

![robotics_edwards.jpg](https://cdn-learn.adafruit.com/assets/assets/000/030/406/medium640/robotics_edwards.jpg?1454741279)

The artist’s&nbsp;“gift” —&nbsp;the thing that makes them seem superhuman — we confuse it for _technique,_ how one holds a pencil or works their brush strokes. But it’s a gift really of _ **observation** ,_ that they’ve developed the knack to switch off or to tweak the parameters of that perceptual filter. This book is as much about _psychology_ as art.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/413/medium800/robotics_matrix.jpg?1454747164)

Even if you have no plans to draw another thing in your life, follow along with the exercises in this book…it’s startling, an eye-opener…and it’s entirely relevant, even if you’re making something like robots, if your aim is _appealing, engaging_ robots. To accurately mimic a thing, or a part of a thing, you must _objectively see its true shape&nbsp;_first.

Another book recommendation…last one, I promise…is&nbsp;**_[Cyclopedia Anatomicae](http://www.amazon.com/Cyclopedia-Anatomicae-Illustrations-Animal-Figure/dp/1884822878)_**&nbsp;by Gyorgy Fehér and András Szunyoghy. There exist&nbsp;_tons&nbsp;_of anatomy books, but pound for pound this one’s tough to beat as a one-stop reference. It’s an enormous volume, half devoted to the human figure, half to other animals.

![robotics_cyclopedia-cover.jpg](https://cdn-learn.adafruit.com/assets/assets/000/030/407/medium640/robotics_cyclopedia-cover.jpg?1454741522)

Regardless whether you’re aiming for “realistic” or even “human,” understanding the shape and structure of things is vital. Exaggeration (caricature) requires first grasping the basic form.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/408/medium800/robotics_cyclopedia-inside.jpg?1454741683)

Living things are complex and subtle. Each finger is a different character, with its own direction and length and girth. Ostriches don’t have knees that “bend backwards” — that’s their ankle. Getting a handle on anatomy…and comparative anatomy…is another essential skill in this quest.

https://www.youtube.com/watch?v=UVrM5gqICRw

# Bringing Characters to Life

## Other Cues

Some odds and ends…

# Pixels

When possible, **avoid treating pixels as the smallest discrete unit.** Stepping pixel-by-pixel, off-or-on has a dated, 8-bit look to it…careful programming can create the feeling of a continuous analog space.

Consider K.I.T.T. from the _Knight Rider_ TV series. His distinctive front scanner had only a few pixels, but a well-designed fading effect gives it a “living” aesthetic; this is no cold machine. (Nor is it all blinking lights…the sporty exterior, the charming voice, everything worked together to make an appealing character of an improbable setting.)

![robotics_kitt-anim2.gif](https://cdn-learn.adafruit.com/assets/assets/000/030/396/medium640thumb/robotics_kitt-anim2.jpg?1454737399)

The logical extreme may be the single-pixel “sleep” light on some Apple products, which creates the impression of breathing. One pixel!

_Shown here are Adafruit’s [iCufflinks](https://www.adafruit.com/products/379), which mimic the effect._

![robotics_icufflinks.gif](https://cdn-learn.adafruit.com/assets/assets/000/030/398/medium640thumb/robotics_icufflinks.jpg?1454737625)

The Arduino code for our [Gemma Firewalker Lite&nbsp;Sneakers](../../../../gemma-led-sneakers/)&nbsp;project has a heap of comments about coordinate spaces and math and this idea of avoiding whole-pixel transitions.

 **Counterpoint:** sometimes you may want to _embrace_ the pixelated effect! Nostalgia is one reason…to mimic some system of the past. Or you may want to make a device that’s actually quite sophisticated appear simple and cute.

Shown: [Animated Flying Toaster Jewelry](../../../../animated-flying-toaster-oled-jewelry/overview)&nbsp;reminiscent of the 1980s _After Dark_ screensaver.

![robotics_pixelated.jpg](https://cdn-learn.adafruit.com/assets/assets/000/030/399/medium640/robotics_pixelated.jpg?1454737905)

# Life is Not a Powerpoint Slideshow

**Avoid cycling mode-to-mode.** Our brains pick up _very quickly_ on repeating patterns. Perhaps more than anything else, just running down a bullet list of features in sequence stops the illusion of life in its tracks…it’s like a boring meeting, but without the donuts.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/415/medium800/robotics_boring.jpg?1454748507)

<sup><em><a href="https://commons.wikimedia.org/wiki/File%3ASlideshow.jpg">Welcome to Powerpoint</a> by <a href="https://www.flickr.com/people/24535188@N00">Gareth Saunders</a> [<a href="http://creativecommons.org/licenses/by-sa/2.0">CC BY-SA 2.0</a>], via Wikimedia Commons</em></sup>

Mode-cycling is fine when you’re demonstrating technical elements to other technical users. When interacting with the layperson, keep it “alive,” and keep a few of your best tricks in reserve for special moments!

 **Mix it up.** Make judicious use of **random numbers,** whether for positions or time intervals. Similar to the “repeating pattern” issue above, we quickly recognize something as non-living and mechanical when everything’s equal-time or if motions always follow an exact set path.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/414/medium800/robotics_random.png?1454748104)

The Arduino random() function can optionally accept a minimum and maximum range for values returned. If simulating something real…a walk, a movement of the eye…do a little searching to find reasonable averages and ranges. There’s an amazing amount of reference material online…research papers and similar…free for the taking, you just have to look.

If you simply _must_ cycle some things on regular intervals: try using different **prime numbers** for each…for example, periods of 3, 5 and 7 seconds. Non-primes…especially even values…will generate more obvious “beat frequencies” as they overlap.

 **Watch out for “self-congratulatory” effects.** You worked really hard on something, getting some shape or path just right, perhaps an eye blink…it’s so tempting then to have it unfold slowly, so no moment of your ingenuity is missed. But this _destroys_ the believability of the thing you’ve been crafting. To win over your audience, life has to take precedence over ingenuity. (In Windows XP, on first boot following a daylight saving time switchover, a dialog box would appear telling you the clock changed. This wasn’t actually for your benefit…it was the programmer(s) celebrating their own cleverness in handling the time change. But same idea.)

# The Uncanny Valley

Psychologists and roboticists sometimes speak of the “Uncanny Valley”…not a place you can visit, but a _phenomenon._

In general, the more closely something resembles a real person, the more familiar it is and the quicker and stronger our emotional response. But a weird thing happens when something’s almost, but _not quite_ human. In this narrow gap — the Uncanny Valley — one’s emotional response is the complete opposite; it’s a major turn-off, triggering something in our brain that fears corpses and zombies. Going either way from there…more human _or less_…improves the situation.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/400/medium800/robotics_UncannyValley.png?1454738322)

_<sup><a href="https://commons.wikimedia.org/wiki/File%3AMori_Uncanny_Valley.svg">Mori Uncanney Valley</a> by <a href="https://commons.wikimedia.org/wiki/User:Smurrayinchester">Smurrayinchester</a> [<a href="http://www.gnu.org/copyleft/fdl.html">GFDL</a> or <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA-3.0</a>], via Wikimedia Commons</sup>_

Sometimes you need to intentionally dial back the realism. Being _more obviously fake_&nbsp;can sometimes make a better emotional connection with your audience.

Other times, you might knowingly set up your tent in the Uncanny Valley and just tough it out. Even _getting there_ means you’re making headway…maybe the next one will be better. Push through!

![](https://cdn-learn.adafruit.com/assets/assets/000/030/401/medium800thumb/robotics_big-eye-anim-reduced.jpg?1454738526)

_<sup>Yeah, the</sup>_ <sup><a href="../../../../animated-electronic-eyes-using-teensy-3-1/overview">Electronic Animated Eyes using Teensy</a></sup>_<sup> project is borderline Uncanny Valley material!</sup>_

# Do More With Less

You may need to ask yourself sometimes if you’re doing things for the right reason.

Exploring&nbsp;new technology is a rush and a learning experience. That’s cool, embrace it. But when it becomes a space race…a popularity contest, or aiming for “the first to do X”…not only is this shallow, but it can&nbsp;be discouraged on&nbsp;purely technical grounds: piling on more tech creates more complexity and _more potential points of failure._ Most importantly…it may not even be improving the character you’re trying to create. A gimmick. Ask: _is this really helping me?_

I can think of a fantastic parallel in _cosplay_ fandom — those folks at conventions who dress up as favorite fictional characters. You’ll encounter moments of amazing workmanship and expense. But quite often, the best, the most memorable and “real” characters are often simply-crafted budget affairs. No gimmicks or props, no technological wonders. Their ability to entertain stems from their full portrayal of the character…not just the look, but the walk, the talk…the quotes _and_ the ad-libs.

![](https://cdn-learn.adafruit.com/assets/assets/000/030/403/medium800/robotics_PeterGriffin.jpg?1454739593)

_<sup>Robert Franzese pretty much broke the whole internet with <a href="https://www.youtube.com/watch?v=PaxG2cTNWkQ">his portrayal of Peter Griffin</a> from </sup>_<sup>Family Guy.</sup>

I adore working with technology. But when you use technology just for technology’s sake, what you end up with is Jar Jar Binks. Before approaching a _character_ problem with a _technical_ solution, ask yourself:

What would lion dancers do?


## Related Guides

- [Teddy Ruxpin Rebuild](https://learn.adafruit.com/teddy-ruxpin-rebuild.md)
- [Solderless Robot Toy Xylophone](https://learn.adafruit.com/solderless-robot-toy-xylophone.md)
- [Adafruit CAN Bus BFF](https://learn.adafruit.com/adafruit-can-bus-bff.md)
- [Makey Paper Craft ](https://learn.adafruit.com/makey-paper-craft.md)
- [Bluetooth CLUE Robot Car using CircuitPython](https://learn.adafruit.com/bluetooth-clue-robot-car-using-circuitpython.md)
- [Build an ESP8266 Mobile Robot](https://learn.adafruit.com/build-an-esp8266-mobile-robot.md)
- [Face Tracking Robot with MEMENTO](https://learn.adafruit.com/face-tracking-robot-with-memento.md)
- [Adafruit RP2040 CAN Bus Feather](https://learn.adafruit.com/adafruit-rp2040-can-bus-feather.md)
- [Current Limiting Stepper Driver with DRV8871](https://learn.adafruit.com/current-limiting-stepper-driver-with-drv8871.md)
- [Improve Brushed DC Motor Performance](https://learn.adafruit.com/improve-brushed-dc-motor-performance.md)
- [Cam Follower Automaton](https://learn.adafruit.com/cam-follower-automaton.md)
- [Adafruit Motor Selection Guide](https://learn.adafruit.com/adafruit-motor-selection-guide.md)
- [Bluefruit LE Feather Robot Rover](https://learn.adafruit.com/bluefruit-feather-robot.md)
- [Adafruit CAN Pal](https://learn.adafruit.com/adafruit-can-pal.md)
- [Stepper Motor Turntable](https://learn.adafruit.com/stepper-motor-turntable.md)
