turtle graphics with c

This is a discussion on turtle graphics with c within the C Programming forums, part of the General Programming Boards category; Yoo sup guys .Well i want to creat a turtle graphic program .I am using a 50x50 arrays ..I just ...

  1. #1
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356

    Talking turtle graphics with c

    Yoo sup guys .Well i want to creat a turtle graphic program .I am using a 50x50 arrays ..I just need alil tips and help if any document available to take a look at for the turtle graphics ..

    Thanks alot

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    you mean logo? that kind of thing can be solved with a simple switch command. if you had a string:
    "u50r13l20d10"
    read in the letter, then read in the numbers and convert that into an integer. figure out which direction by going down if there's a d, going up if there's a u, etc...

    if you had a string like this
    "f50l30f10r50f10"
    where f was forward, and l and r stand for left and right in degrees, you would have to do some angle math to figure out the final location.

  3. #3
    datainjector
    Guest

    tnaks alot man

    yeah at lest i know know what the dam turtle graphics is all abot

  4. #4
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    Umm, what is turtle graphics though?

  5. #5
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >Umm, what is turtle graphics though?
    http://www.logosurvey.co.uk/logo/turtlegraphics.htm
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Turtle Graphics, how does it work?
    By freddyvorhees in forum C++ Programming
    Replies: 15
    Last Post: 08-28-2009, 09:57 AM
  2. Turtle Graphics (debug help)
    By impact201 in forum C Programming
    Replies: 5
    Last Post: 07-14-2006, 01:45 PM
  3. turtle graphics
    By condorx in forum C Programming
    Replies: 2
    Last Post: 05-10-2002, 02:27 PM
  4. turtle graphics problem??
    By atif in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2002, 12:48 PM
  5. turtle graphics
    By korbbd in forum C++ Programming
    Replies: 0
    Last Post: 03-06-2002, 02:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21