Skip to content

manbehindthemadness/expression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expression

Facial expressions for simple robots.

This library is so straight-forward it really doesn't need a whole read-the-docs (yet). Just look at example_main.py and expression/example.py for general use.

Wiring

nibAz4K.-.Imgur.mp4

Features (so-far)

  • Independent eye control
  • Background / foreground colors
  • Saccades movements to add realism
  • Blink-to-mask to assist with low refresh-rates
  • Independent top/bottom "squint"
  • Eye-shaping sprites in quadrants allowing for many, many variations
  • Eye-position transitions with variable speed
  • Eye-rotation transitions with variable speed and radius
  • Full complement of sweet icons from Love, Death+Robots and other royalty free sources.
  • Screensaver with slick transitions n jazz
  • Memory consumption of roughly 65kb
  • Movement constrained to the viewable area (no wandering)

Typeset icons

These options are available when using the expression.Eyes.iris_to_icon method.

icons

sRR77LW.mp4

About

Facial expressions for simple robots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages