Log in

View Full Version : Turtle Graphics (Java)


PerpetualImperfexion
November 8th, 2013, 06:44 PM
Could someone give me a quick rundown on how to install turtle graphics? At this point I've done nothing but install DrJava as my ide. I don't even have a download link. I only know about it because we used at school. Many thanks in advance.

edit: JDK installed as well

edit: I have a .jar file where do I put it?

TheMatrix
November 9th, 2013, 04:00 AM
Your JAR file goes in the project. I know in NetBeans there's an option for it somewhere(and certainly documented, I know that).

As for actually using it, well, you'll need to find the documentation. A search was most unhelpful, as ``turtle graphics'' being some kind of cartesian geometry, and something to do with the Logo programming language.

Ask your teacher if s/he can help you get a copy for home. Though if it ends up being some kind of proprietary, ``simplified'' wrapper library, you're better off learning the graphics APIs themselves -- someday you won't have your wrappers anymore.

luq_
November 12th, 2013, 11:10 AM
DrJava doesn't really sound like a top choice for a Java IDE. But ok, I can't tell, since I first time hear for it(here's the link to the homepage (http://www.drjava.org/)). Turtle graphics, as far as I know, is the Logo thing, which I remember from MS SmallBasic, long time ago when I was starting my programming journey. This all sounds like the introduction to programming, except Java, which sounds odd as a language you'd learn first.
You could ask your teacher for that library, since I can't seem to find it - nor it's used anywhere, except for learning. Sometimes.