added reset message

master
vitrinekast 9 months ago
parent 7602acccba
commit 356d1a3f5b

@ -78,6 +78,12 @@ const parseMessage = (message) => {
case 'init': case 'init':
toPlotter(init()); toPlotter(init());
break; break;
case 'reset':
distance = 3;
toPlotter(init());
toPlotter(to(0,0));
toPlotter(init());
break;
case 'pu': case 'pu':
toPlotter(`PU;`); toPlotter(`PU;`);
break; break;

Loading…
Cancel
Save