Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gartic Phone Draw Bot

this is a pretty basic bot I made that translates an image to a specific size and matches the colours to a 64-colour palette and then emulates mouse movements to draw the image on a gartic phone session.

Installation

Install the latest version of Python 3

python -m venv venv
source venv/bin/activate
pip install pynput Pillow numpy

WARNING: pynput breaks in Wayland, use X11 instead

Run the program

First, make sure you're already in a Gartic Phone session

source venv/bin/activate
python colors.py

Switch to the browser window without using your mouse (crucial)

Step 1

step 1 click the box under the colour palette

Step 2

step 2 click the + icon under custom

Step 3

step 3 click the text with the hex code

Step 4

step 4 click the select button

Step 5

step 5 click the top left corner of the canvas (draw area)

Step 6

step 6 click the bottom right corner of the canvas (draw area)

Step 7

now click anywhere on the screen and after 5 seconds it will start drawing!!! wait till it's done

Important Information

The code in this repository was tested on Cinnamon (X11) - Arch Linux, it is subject to break on any other Operating Systems or DEs

USE AT YOUR OWN RISK

About

a gartic phone drawing bot written in python

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages