Let’s Draw Together
multiuser-sketchpad.glitch.me
multiuser-sketchpad.glitch.me
EDIT: on a more entertaining note, I just saw somebody with great handwriting write "Incredible how fast something like this devolves into vulgarity". Vulgarity was immediately scratched out and replaced by a crudely written "dicks".
dir=0
up() { xdotool mouseup 1 }
down() { xdotool mousedown 1 }
right() { dir=$(expr $dir + $1) }
left() { dir=$(expr $dir - $1) }
walk() { for i in {1..$1}; do xdotool mousemove_relative --sync --polar $dir 1 done }
square() { down for i in {1..4}; do walk 20 right 90 done up }
block () { down for i in {1..10}; do walk 200 right 90 walk 1 right 90 walk 200 left 90 walk 1 left 90 done up }
circle () {
}
block
# go crazy
You can see the source here https://glitch.com/~multiuser-sketchpad ... and can "remix" to fork your own version of the project.
createEvent("pointerdown", 0, 300); for(x = 0; x < 100; x+=10) { createEvent("pointermove", x, 300) } createEvent("pointerup", 100, 300);
what am I doing wrong?