update README.md
This commit is contained in:
parent
a248e84fc3
commit
7893eca2e2
16
README.md
16
README.md
|
@ -10,7 +10,7 @@ A kind of LOGO-like DSL built in the p5.js library.
|
|||
|
||||
This is a rudimentary proof of concept right now with globals and without implementing classes. To write loops or *subroutines* one must use regular javascript.
|
||||
|
||||
![example program](example.jpg)
|
||||
![example logo program image](examples/simple-logo/simple-logo.jpg)
|
||||
|
||||
## How to Use
|
||||
|
||||
|
@ -76,7 +76,12 @@ Width of pen in pixels
|
|||
retro()
|
||||
```
|
||||
Adds a retro filter on the entire drawing. This command can be called anywhere and filter is always applied at the end of the program.
|
||||
|
||||
|
||||
```
|
||||
noConsole()
|
||||
```
|
||||
Turns off the default onscreen display of the program listing.
|
||||
|
||||
### Randomness
|
||||
|
||||
```
|
||||
|
@ -93,6 +98,8 @@ Returns a random int between 0 and n. Specifying a value is optional. If no inpu
|
|||
|
||||
## Examples
|
||||
|
||||
*More examples in the examples folder*
|
||||
|
||||
### Backwards box
|
||||
|
||||
```
|
||||
|
@ -141,6 +148,11 @@ forward(100);
|
|||
|
||||
##### 2021-02-07
|
||||
|
||||
- Added onscreen console print of commands (on by default) and noConsole() to turn off
|
||||
- Added more example files
|
||||
|
||||
##### 2021-02-07
|
||||
|
||||
- Re-render turtle() after screen resizing
|
||||
- Added new setpos(x,y) function to move turtle to a position. A path will be drawn if the pen is currently down.
|
||||
- add retro() command for retro filter.
|
||||
|
|
Loading…
Reference in New Issue