- Calculate the hour
- Subtract hour from 12
- Draw the rims of the eye as curves increasing additively by the result
- Calculate if the hour is even or odd
- Draw an ellipse with the position increasingly left if odd or right if even based on minute
- Calculate if second is a multiple of 3
- If eyelid hasn’t hit the bottom lid yet
- move upper eyelid down one pixel
- Stop when eyelid reaches lower lid
- If eyelid is has hit the top lid
- Move upper eyelid up one pixel
- If eyelid hasn’t hit the bottom lid yet
You must be logged in to post a comment.