Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Jumping jack women
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
princess




PostPosted: Wed Jun 18, 2003 9:01 pm   Post subject: Jumping jack women

ok now that the year is over i would like to submit my most ugliest assignment.... which is my stick person women doing jumping jacks
b4 u ask any questoins yes i do understand that her legs shrink when they move up and that there is an extra piece to her body....

code:


%
%  Purpose: To make a stickman do jumping jacks three times

procedure graphic3
    %backround
    colourback (87)
    cls
    drawfillbox (780, 580, 20, 30, 62)
    %hair
    drawfilloval (410, 415, 40, 40, black)
    drawfilloval (444, 445, 10, 10, black)
    drawfilloval (374, 445, 10, 10, black)
    %face
    drawfilloval (410, 415, 35, 35, 89)
    drawfilloval (401, 421, 5, 5, black)
    drawfilloval (420, 421, 5, 5, black)
    drawfilloval (410, 398, 15, 4, brightmagenta)
    %body
    drawline (410,375,410,194,89)
    %legs(left)
    drawline (410,200,360,100,89)
    %right
    drawline (410,200,450,100,89)
    %arm right
    drawline (490,300,410,300,89)
    %left
    drawline (410,300,340,300,89)
   
    for num:1..3
    for count: 100..185
     %legs(left)
    drawline (410,200,360,100+count-100,89)
   
   
    %right
    drawline (410,200,450,100+count-100,89)
   
   
    %arm right
    drawline (490,300+count-100,410,300,89)
    %left
    drawline (410,300,340,300+count-100,89)
   
   
    delay (50)
    %legs(left)
    drawline (410,200,360,100+count-100,62)
   
   
    %right
    drawline (410,200,450,100+count-100,62)
   
   
    %arm right
    drawline (490,300+count-100,410,300,62)
    %left
    drawline (410,300,340,300+count-100,62)
   
   end for
    for decreasing count: 185..100
    %legs(left)
    drawline (410,200,360,100+count-100,89)
   
   
    %right
    drawline (410,200,450,100+count-100,89)
   
   
    %arm right
    drawline (490,300+count-100,410,300,89)
    %left
    drawline (410,300,340,300+count-100,89)
   
   
    delay (50)
    %legs(left)
    drawline (410,200,360,100+count-100,62)
   
   
    %right
    drawline (410,200,450,100+count-100,62)
   
   
    %arm right
    drawline (490,300+count-100,410,300,62)
    %left
    drawline (410,300,340,300+count-100,62)
end for
end for
     %legs(left)
    drawline (410,200,360,100,89)
    %right
    drawline (410,200,450,100,89)
    %arm right
    drawline (490,300,410,300,89)
    %left
    drawline (410,300,340,300,89)

end graphic3
setscreen ("graphics:800;600")
graphic3



i never actually handed this in....
Sponsor
Sponsor
Sponsor
sponsor
PaddyLong




PostPosted: Wed Jun 18, 2003 11:49 pm   Post subject: (No subject)

she's got mickey mouse ears Very Happy
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: