You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vitrinekast 5ea91baa0b | 10 months ago | |
---|---|---|
public | 10 months ago | |
.gitignore | 10 months ago | |
app.js | 10 months ago | |
hpgl.js | 10 months ago | |
package-lock.json | 10 months ago | |
package.json | 10 months ago | |
readme.md | 10 months ago |
readme.md
Twitch Plays Plotter
The tale of the untested bit of javascript:
the commands are right now
- lb and anything you type after will be plotted as Text
- init
- pu
- pd
- up (move up by {distance})
- down (move down by {distance})
- right (move right by {distance})
- left (move left by {distance})
- rectangle (draw a rectangle with the size of {distance})
- circle (draw a rectangle with the size of {distance})
- set the value for distance
Also, there is the start of some state tracking and clamping to prevent the plotter from getting stuck. But again, untested.