The plan is to implement a LOGO-like Graphical User Interface using Javascript to send the messages back to the server, and PHP to parse the commands into an image
Commands:
- DN # -> draw a line down # pixels
- UP # -> draw a line up # pixels
- RT # -> draw a line right # pixels
- LT # -> draw a line left # pixels
- MOVE # # -> move without drawing right # pixels and down # pixels (which may be negative)
- COLOR # # # -> change the current color to a new color using Red Blue and Green values as integers
- REPEAT # ( commands in here ) -> repeat the commands between the parenthesis # times (currently max 10)
Note that each command is exactly 1 space apart, this allows the parser to recognize the individual commands.
Enter your commands into the textarea.