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

Username:   Password: 
 RegisterRegister   
 How Would I Draw the Following Picture??
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
tristanbryce7




PostPosted: Sun Dec 02, 2012 7:48 pm   Post subject: How Would I Draw the Following Picture??

I am trying to draw the following picture in Turing,
http://static.tumblr.com/iq2iqss/P54m9cauu/dexter-dexters-laboratory-13130849-445-567.jpg

What I need to know is how would I draw the Purple Hands, and The Leg/Foot for him with Turing??
And after drawing them, how would i fill them up, as they are abnormal shapes, and idk how to work with them atm :/
Please Help!



Turing:


var x : int := 0



setscreen ("graphics:900;800")


%Draws left ear background
drawfilloval (maxx div 2 - 180, maxy div 2 + 25, 25, 25, black)
%Draw Black Background for right ear
drawfilloval (maxx div 2 + 178, maxy div 2 + 25, 24, 24, black)
%Draws the right ear
drawfilloval (maxx div 2 + 178, maxy div 2 + 25, 18, 18, 66)



%Draw the Shirt, In a loop, to give the "layer effect"

for box : 1 .. 10
    x := x + 1
    drawbox (maxx div 2 - 135 - x, maxy div 2 - 180 - x, maxx div 2 + 132 + x, maxy div 2 + x, black)
end for

x := 0

%Draw black background for head
drawfilloval (maxx div 2, maxy div 2 + 80, 190, 200, black)
%Draws head
drawfilloval (maxx div 2, maxy div 2 + 80, 180, 190, 66)
%Draws black outline for hair
drawfillarc (maxx div 2 + 18, maxy div 2 + 226, 181, 66, 0, 360, black)
%Draws orange hair
drawfillarc (maxx div 2 + 17, maxy div 2 + 225, 175, 60, 0, 360, 42)
%Draws Glasses (Right Part)
drawfilloval (maxx div 2 - 85, maxy div 2 + 120, 85, 102, black)
%Draws Glasses (Left Part)
drawfilloval (maxx div 2 + 70, maxy div 2 + 120, 85, 102, black)
%Draw Blue Inner Part of Glasses (Left)
drawfilloval (maxx div 2 - 85, maxy div 2 + 120, 70, 85, 53)
%Draw Blue Inner Part of Glasses (Right)
drawfilloval (maxx div 2 + 70, maxy div 2 + 120, 70, 85, 53)
%Draw Black inner part of Eyes (Left)
drawfilloval (maxx div 2 - 49, maxy div 2 + 122, 17, 28, black)
%Draw Black inner part of Eyes (Right)
drawfilloval (maxx div 2 + 29, maxy div 2 + 122, 17, 28, black)
%Draws the line on his shirt
drawline (365, 215, 365, 310, black)
%Draws button on the shirt
drawfilloval (375, 265, 5, 15, black)
%Draws Left Ear
drawfilloval (maxx div 2 - 180, maxy div 2 + 25, 18, 18, 66)
%Dras the two "hair" on side of head
Draw.ThickLine (298, 600, 220, 600, 5, black)
Draw.ThickLine (298, 600, 215, 630, 5, black)


%Draw left Arm
Draw.ThickLine (275, 270, 304, 344, 5, black)
%Draw Right Arm
Draw.ThickLine (620, 270, 590, 348, 5, black)


%Draw Left Arm Line
Draw.ThickLine (275, 270, 304, 270, 3, black)
%Draw Right Arm Line
Draw.ThickLine (620, 270, 590, 270, 3, black)



Sponsor
Sponsor
Sponsor
sponsor
Dreadnought




PostPosted: Mon Dec 03, 2012 12:11 am   Post subject: Re: How Would I Draw the Following Picture??

Draw.Polygon, Draw.Fill and Draw.FillPolygon might be the kind of things you are looking for.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: