Giter VIP home page Giter VIP logo

hexpy's Introduction

#HexPy

HexPy is a project focused on using arrays of 8-byte color hexcodes. The old readme is now outdated

####To see the latest stable release of HexPy, click here

The main part of HexPy, pgexec, is a program to output an array (or 'list') of hexcodes. It has a simple gui menu, and is accessed from a CLI, though an importable library is planned. pgexec is designed to be able to use almost any hex array you throw at it, and to not care about format. You can even feed it arrays generated by non-Python programs. The only requirement is a variable, w, to specify image width. For an example of the format, click here

pgexec guide:

###Installation is easy:

  1. Have Python 3.4 or later installed. Note: on most Linux distros, you must install python3-tk as well v2.0-release: pgexec now automatically downloads dependencies
  2. Download and decompress the .zip or .tar from Github
  3. cd to the uncompressed directory
  4. Do chmod 777 pgexec
  5. Either add it to your PATH or run it with ./pgexec

###To test HexPy:

  1. Use a pre-made image or run the ranhex.py script to generate a test image.
  2. From a terminal do pgexec myimage.pgf You can also add a v at the end if you want to see live stats and errors raised directly from Python. However, v tends to impact performance pretty heavily.

hexpy's People

Contributors

tacolizard avatar

Stargazers

 avatar

Watchers

 avatar

hexpy's Issues

ToDo: Add 'cryptography' mode

Possibly add a cmd argument to specify the width of the image. This way, if you don't know what the hexcodes will output, you can use process of elimination to try to display an image correctly. Normally, you would have to change the image width in the .pgf file.

Make it faster

Squeezing out 20 seconds is really good, but it still needs to get down to around at least 5 seconds

Cross Platform Compatibility

Test pygraphics on different computers and operating systems. Most incompatibility probably caused by
os.system('clear')

Top Priority: Make it faster

Running the program is too slow. If it's gonna be used as library for displaying live graphics, it has to be faster.

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.