Login Register


[VB.Net] LOGO Basic v1.0 filter_list
Author
Message
[VB.Net] LOGO Basic v1.0 #1
LOGO Basic v1.0

[altimg=http://i.imgur.com/AzHMw.jpg]LOGO Basic - By Coder-san[/altimg]

I've been working on this since yesterday. Just for the sake of doing something new.
LOGO Basic is a [link=http://en.wikipedia.org/wiki/Logo_%28programming_language%29]LOGO[/link] like language. But only the Turtle Graphics part. Hence the Basic.
I've currently added some important commands in this. Smile

Current command list:
  • UP - Draws line till distance mentioned
  • DOWN - ""
  • LEFT - ""
  • RIGHT - ""
  • PEN -To change pen color
  • MOVE - Draws line till exact point location
  • PU - Pen up
  • PD - Pen down
  • LOAD - Load codes
  • SAVE - Save codes
  • RESET - Reset file
  • CAPTURE - Exports working area to JPEG
  • EXIT - Close LOGO Basic
  • WALK - Draws line till distance mentioned
  • LOOP - Loop

Syntax:
  • UP 100
  • DOWN 100
  • LEFT 100
  • RIGHT 100
  • PEN Red
  • MOVE 100 100
  • PU
  • PD
  • LOAD file.txt
  • SAVE file.txt
  • RESET
  • CAPTURE image.jpg
  • EXIT
  • WALK 100 100
  • LOOP 10 (RIGHT 20;DOWN 20)

Codes to draw "HC":

Code:
right 40 down 80 right 60 up 80 right 40 down 200 left 40 up 80 left 60 down 80 left 40 up 200 pu right 140 right 50 pen white pd right 140 down 40 left 100 down 120 right 100 down 40 left 140 up 200 capture hc.jpg

Known limitations:

Currently LOGO Basic does not save color info to files, and draws the whole file in the current Turtle color.

[link=http://www.multiupload.com/0L698ZV9XU][altimg=http://c.imagehost.org/0663/Download.png]LOGO Basic.exe[/altimg]
LOGO Basic.exe (72 KB)[/link]

I hope you like it. Smile
[Image: rytwG00.png]
Redcat Revolution!

Reply





Messages In This Thread
[VB.Net] LOGO Basic v1.0 - by Coder-san - 05-23-2011, 10:46 AM



Users browsing this thread: 1 Guest(s)