Welcome to the Quick Start Guide! The aim is to help you get a grip on A'Tuin.
This interpreter takes its instructions and draw a picture built from it. Use these instructions to move vertically or horizontally a virtual cursor. If the cursor is down each move leaves a mark, if moving in position high nothing is written. The instructions also allow the cursor to turn counterclockwise by a given angle in degrees.
Just execute 'build\deploy\bundles\ATuin-1.0.exe'
The program will be installed in: C:\Users\Username\AppData\Local\ATuin
If you want to run the .jar, just go to 'build/dist', then run the following command:
java -jar ATuin.jar
Let's try our first program, put the following text in the code editor:
start def s(a, b, s, e) { start if (s < e) { start a := a + b; s := s + 1; forward a; turn 90; call s(a, b, s, e); end } end } forward 0-25; down; call s(50, 5, 0, 120); end
Then run the program (Run>Run); this code will draw: