_TITLE "Press Space Bar for random curly hair." start:
'Head
 
'Left Eye
'white
'blue
'pupil
 
'Right Eye
'white
'blue
'pupil
 
'Nose
    CIRCLE (410, 345), sz
, _RGB(230, 140, 100), , , 1.5  
'Mouth
 
'Neck
LINE (360, 460)-(460, 520), _RGB32(249, 155, 127), BF
 'Body
 
'Hair
hair:
fuzzy 
= (RND * 300) + 100    seconds = seconds + 1
    sec = (60 - seconds) * 6 + 240
    xx 
= INT(SIN(sec 
/ 180 * 3.141592) * 180) + 400    yy 
= INT(COS(sec 
/ 180 * 3.141592) * 180) + 300    s = sec
        'step was originally -.125
        s = s + h
        'h was originally Pi
        x 
= COS(s 
* 3.141592 / fuzzy
) * d
        y 
= SIN(s 
* 3.151492 / fuzzy
) * d
        x2 = x + xx: y2 = y + yy
            CIRCLE (x2 
+ 3, y2 
+ 50 + h 
- (h2 
* 10)), sz
, _RGB32(127, 127, 0) seconds = 0