galehouse5 / skribbl-io-autodraw

Chrome extension that automatically draws images in pictionary game skribbl.io.
https://skribbl.io/
The Unlicense
178 stars 239 forks source link

Is this normal? Autodraw looks like shid #6

Closed IAmV0id closed 5 years ago

IAmV0id commented 5 years ago

image

IAmV0id commented 5 years ago

for this one it looked fine, but for other pictures it looks unfinished and bad, couldnt tell what it was myself

like this image

galehouse5 commented 5 years ago

We could probably get something closer to this:

image

The limiting factor is the rate skribbl.io servers process line draw commands. It's somewhere between 5,000 and 10,000 per minute. The image above contains 30,000 pixels so the naive method of using one line draw command per pixel would take 3 to 6 minutes.

That's why we draw this:

image

It's only 4,800 pixels. Also, we draw multiple adjacent pixels of the same color using a single line draw command so it's even fewer draw commands. We'll have to do better to draw the level of detail in the first image in the 80 second time limit, though.

I can't promise anything, but I'll experiment with some ideas.

IAmV0id commented 5 years ago

Thats actually a good reason! Thanks lol

galehouse5 commented 5 years ago

Now drawing like this:

image

It took over 2 minutes and 15k commands to draw that image. The best way to reduce that is by selecting a simpler image.