%BACKGROUND
drawfillbox (0, 0, maxx, maxy, 16)
%GROUND
drawfillbox (0, 0, maxx, round (maxy / 2.5), 6)
%STEPHEN LEACOCK
var font := Font.New ("comic sans:16:bold,underline")
drawfillbox (40, 162, 180, 320, grey)
drawfillbox (180, 162, 450, 380, grey)
drawfillbox (400, 162, 600, 320, grey)
drawbox (40, 162, 180, 320, red)
drawbox (180, 162, 450, 380, red)
drawbox (450, 162, 600, 320, red)
Font.Draw ("SCHOOL NAME", 195, 350, font, brightblue)
%FACE
drawfilloval (320, 300, 25, 35, white)
%LEFT EAR
drawfilloval (300, 300, 8, 10, white)
%RIGHT EAR
drawfilloval (340, 300, 8, 10, white)
%NECK
drawfillbox (310, 265, 330, 275, white)
%STOMACH
drawfilloval (320, 200, 30, 70, white)
%LEFT THIGH
drawfilloval (304, 120, 10, 70, white)
%RIGHT THIGH
drawfilloval (336, 120, 10, 70, white)
%RIGHT HAND
drawfilloval (275, 240, 60, 8, white)
%LEFT HAND
drawfilloval (365, 240, 60, 8, white)
%LEFT EYE
drawfilloval (308, 305, 8, 5, brightred)
%LEFT IRIS
drawfilloval (308, 305, 2, 2, white)
%LEFT EYEBROW
drawarc (308, 298, 10, 20, 25, 150, black)
%RIGHT EYE
drawfilloval (332, 305, 8, 5, brightred)
%RIGHT IRIS
drawfilloval (332, 305, 2, 2, white)
%RIGHT EYEBROW
drawarc (332, 298, 10, 20, 25, 150, black)
%NOSE
drawfillbox (315, 294, 325, 298, black)
%MOUTH
drawfilloval (320, 285, 8, 5, black)
drawfilloval (320, 215, 30, 60, white)
drawfilloval (320, 215, 30, 60, white)
drawfilloval (320, 215, 30, 60, white)
process bloodrain
var x : int
var y : int := 500
for k : 1 .. 100000
randint (x, 0, maxx)
%randint (y, 0, maxy)
drawfilloval (x, y, 2, 4, brightred)
delay (100)
y := y - 20
if y = 0 then
y := 500
end if
end for
end bloodrain
process bloodfill
for j : 1 .. 100000
delay (100)
drawfillbox (0, 0, maxx, round (j), brightred)
if j > 72 then
%MOUTH
drawfilloval (320, 282, 10, 8, white)
drawfilloval (320, 285, 9, 7, black)
%RIGHT HAND
drawfilloval (275, 240, 60, 8, grey)
%LEFT HAND
drawfilloval (365, 240, 60, 8, grey)
%STOMACH
drawfilloval (320, 200, 30, 70, white)
%RIGHT HAND
drawfilloval (275, 240, 30, 10, white)
%LEFT HAND
drawfilloval (365, 240, 30, 10, white)
%RIGHT HAND
drawfilloval (250, 272, 8, 40, white)
%LEFT HAND
drawfilloval (390, 272, 8, 40, white)
end if
if j > 140 then
drawfilloval (320, 282, 10, 20, black)
drawfillbox (0, 0, maxx, round (j), brightred)
end if
end for
end bloodfill
fork bloodrain
fork bloodfill
|