Giter Club home page Giter Club logo

auto-pixel-canvas's Introduction

auto-pixel-canvas

Automatically supply intelligent clicks to targeted kinds of pixel blocks in a dynamic HTML5 canvas element.

It is inspired by the specific requirements for http://pixelcanvas.io/ and has been tested to work well on that canvas.

What it does:

Using auto-pixel-canvas, a user can open up a web browser with pixelcanvas.io (or other similar platforms) and pin the browser window to a specific subpart of the screen area, where the pixel canvas's area to be worked on is visible in the browser window on screen. As long as the browser window is available on screen the user can use the desktop for other tasks while the auto-pixel-canvas application will automatically supply clicks to the desired coordinates on the canvas without affecting the workflow of other programs running on the computer, and by extension, without disrupting the user's attention. It also means that the needed pixel coordinates on the canvas will keep getting clicked with the right color even when the user is away from computer or is engaged in some other activity.

Requirements:

auto-pixel-canvas requires Python3 and pyautogui package. Pyautogui can be installed using pip as: pip install pyautogui Read PyAutoGUI Docs >> Installation for more details. Additionally for Linux systems scrot is required for screenshot facilities. scrot can be installed by running: sudo apt-get install scrot

UPDATED (fixed the freeze time bug): Windows executable of the file can be downloaded from here: Windows download

Download the .rar file and extract it, then run the auto_pixel.exe file to start running the program.

auto-pixel-canvas's People

Contributors

lambsteak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

juliomoreira666

auto-pixel-canvas's Issues

Error...

Traceback (most recent call last):
File "auto_pixel.py", line 402, in
db=get_confs()
File "auto_pixel.py", line 250, in get_confs
input('>>>')
File "", line 0

capturar

Windows executable not building with either py2exe or pyinstaller

76 INFO: PyInstaller: 3.2.1
76 INFO: Python: 3.6.1
77 INFO: Platform: Windows-10-10.0.14393-SP0
81 INFO: wrote E:\work\auto-pixel-canvas\auto_pixel\auto_pixel.spec
81 INFO: UPX is not available.
82 INFO: Extending PYTHONPATH with paths
['E:\work\auto-pixel-canvas\auto_pixel',
'E:\work\auto-pixel-canvas\auto_pixel']
82 INFO: checking Analysis
83 INFO: Building Analysis because out00-Analysis.toc is non existent
83 INFO: Initializing module dependency graph...
84 INFO: Initializing module graph hooks...
86 INFO: Analyzing base_library.zip ...
Traceback (most recent call last):
File "C:\Work\Python\Scripts\pyinstaller-script.py", line 11, in
load_entry_point('PyInstaller==3.2.1', 'console_scripts', 'pyinstaller')()
File "c:\work\python\lib\site-packages\PyInstaller_main_.py", line 90, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\work\python\lib\site-packages\PyInstaller_main_.py", line 46, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\work\python\lib\site-packages\PyInstaller\building\build_main.py", line 788, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\work\python\lib\site-packages\PyInstaller\building\build_main.py", line 734, in build
exec(text, spec_namespace)
File "", line 16, in
File "c:\work\python\lib\site-packages\PyInstaller\building\build_main.py", line 212, in init
self.postinit()
File "c:\work\python\lib\site-packages\PyInstaller\building\datastruct.py", line 161, in postinit
self.assemble()
File "c:\work\python\lib\site-packages\PyInstaller\building\build_main.py", line 317, in assemble
excludes=self.excludes, user_hook_dirs=self.hookspath)
File "c:\work\python\lib\site-packages\PyInstaller\depend\analysis.py", line 560, in initialize_modgraph
graph.import_hook(m)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1509, in import_hook
source_package, target_module_partname, level)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1661, in _find_head_package
target_module_headname, target_package_name, source_package)
File "c:\work\python\lib\site-packages\PyInstaller\depend\analysis.py", line 209, in _safe_import_module
module_basename, module_name, parent_package)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2048, in _safe_import_module
module = self.findNode(module_name)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1381, in findNode
m = self._safe_import_hook(name, None, None).pop()
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2278, in _safe_import_hook
target_attr_names=None, level=level, edge_attr=edge_attr)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1509, in import_hook
source_package, target_module_partname, level)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 1661, in _find_head_package
target_module_headname, target_package_name, source_package)
File "c:\work\python\lib\site-packages\PyInstaller\depend\analysis.py", line 209, in _safe_import_module
module_basename, module_name, parent_package)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2077, in _safe_import_module
module_name, file_handle, pathname, metadata)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2167, in _load_module
self._scan_code(m, co, co_ast)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2585, in _scan_code
module, module_code_object, is_scanning_imports=False)
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2831, in _scan_bytecode
global_attr_name = get_operation_arg_name()
File "c:\work\python\lib\site-packages\PyInstaller\lib\modulegraph\modulegraph.py", line 2731, in get_operation_arg_name
return module_code_object.co_names[co_names_index]
IndexError: tuple index out of range

Error after paiting the first point

After paiting the first point I receive this error:
img
Then the program still running but doesn't make any action.
My OS is Windows 10, and I'm using the Windows executable provided by you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.