This is a functional bot for pixelcanvas.io.
Well, I think this is a fun game and I wanted learn another program language and challenge myself.
Well, you can draw some image and try replicate in pixelcanvas.io. You can combine with your friends or clan, whatever for combine forces to draw more quickly or defend your 'territory'.
YES READY. You can use any image. Converted to the nearest PixelCanvas.io color for every pixel
- WHITE: (255, 255, 255),
- GAINSBORO: (228, 228, 228)
- GREY: (136, 136, 136)
- NERO: (34, 34, 34)
- CARNATION_PINK: (255, 167, 209)
- RED: (229, 0, 0)
- ORANGE: (229, 149, 0)
- BROWN: (160, 106, 66)
- YELLOW: (229, 217, 0)
- CONIFER: (148, 224, 68)
- GREEN: (2, 190, 1)
- DARK_TURQUOISE: (0, 211, 221)
- PACIFIC_BLUE: (0, 131, 199)
- BLUE: (0, 0, 234)
- VIOLET: (207, 110, 228)
- PURPLE' : (130, 0, 128)
Well, first you need Python 2.7 and install this:
- pip install websocket-client
- pip install Pillow
- pip install requests
if you needs pip save from https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
after pip installation
- python -m pip install websocket-client
- python -m pip install Pillow
- python -m pip install requests
- ./main.py -i image.png -f
$FINGERPRINT$ -x 0 -y 0
Need to help?
Try it 'python ./main.py --help' maybe more usefull.
- -i or --image it is the image you want to draw.
- -f or --fingerprint it is your unique code. You can get in the requisition when you open Chrome DevTools.
- -x or --start_x it is the point X axis what you want to begin. Ex: 156
- -y or --start_y it is the point y axis what you want to begin. Ex: -4000
- --colors_ignored Colors of your image that will be ignored. Ex: 0 1 2 3 8 15
- --draw_strategy Optional draw strategy. Avaiable strategy list : linear : line by line paint, randomize : pixel paint random coordinates, status : not painted only list paint status).: Default: randomize
- --mode_defensive is the mode who put the program mode deamon. Default: True
- --proxy_url it is you proxy. Ex: proxy.yourcompany.com:8080
- --proxy_auth it is your credentials for the proxy. Ex: username:password