Snakey was meant to be a cute character, not an evil snake, despite
having a sssnaky look on his face sometimes.
sketch <<
Snakey's head and body were built from a number of separate elements
drawn using digital techniques. This method of construction made it
possible to separately animate elements like the eyes, mouth, eyebrows,
tongue and even the top of the head.
Animating Snakey was a challenge. He had to crawl smoothly and
continuously while waving every part of his body.
I wrote a program that used a set of sine and cosine functions
to generate motion coordinates for each element of Snakey's
body. The size and glow of each element was also procedurally
controlled. Once he started to move, it was easy to alter
the motion path by tuning the parameters of the sine functions.