add more commands to reference section

This commit is contained in:
lee2sman 2021-01-21 04:44:35 -05:00
parent b4de12c601
commit 1fe8572d1d
1 changed files with 5 additions and 1 deletions

View File

@ -31,7 +31,11 @@ penup(); //will draw a line with movement commands
pendown(); //will move to x,y coordinates without drawing line
//By default, pendown is on / true
penColor('colorName'); //any color word: purple, grey, blue, etc.
//color name must be in single or double quotes!
//or a HTML color like #ff4d4d (in quotes!)
penSize(n); //width of pen in pixels
//randomness
randint(n); //returns a random int between 0 and n (exclusive)