GithubHelp home page GithubHelp logo

akascape / pixelort Goto Github PK

View Code? Open in Web Editor NEW
24.0 1.0 0.0 292 KB

Advanced Pixel Sorting application made with customtkinter python!

License: MIT License

Python 100.00%
customtkinter glitch glitch-art glitch-effect pixel-art pixel-sorter pixel-sorting pixel-sorting-images python-app python-application

pixelort's Introduction


Logo

Advanced Pixel Sorting application made with customtkinter and python

Screenshot

What is Pixel Sorting?

Pixel sorting is a digital image processing technique that involves isolating a horizontal or vertical line of pixels in an image and sorting their positions based on any number of criteria, such as luminosity, hue, or saturation. The result is a glitchy, abstracted image that can be used for artistic purposes. Pixelort is also a software that can do pixel sorting with various options and tweaks. This tool is based on this library: https://github.com/satyarth/pixelsort

DOWNLOAD

Windows Version

PYTHON INSTALLATION

  • Download the python version:

  • Extract the downloaded file
  • Install the modules of requirements.txt: pip install -r requirements.txt
  • Run pixelort.py

FEATURES

  • Drag and Drop file support
  • Masking feature
  • Save/Import Mask
  • 6 Pixel Sorting Modes
  • Angle and threshold parameters
  • Sorting functions
  • Image reference mode
  • Check version updates
  • Export to png/jpg
  • One click live render
  • Dark/Light themes
  • More...

πŸ“–READ DOCUMENTATION

Quick Masking Tool

Screenshot

You can draw the mask of the area where you want the pixel sorting effect.

Modes

Modes Description
Random Randomly generate intervals. Distribution of widths is linear by default. Interval widths can be scaled using character length.
Edges Performs an edge detection, which is used to define intervals.
Threshold Intervals defined by lightness thresholds; only pixels with a lightness between the upper and lower thresholds are sorted.
Waves Intervals are waves of nearly uniform widths. Control width of waves with character length.
Reference Intervals taken from another specified input image. Should be black and white, and the same size as the input image.
Border Sort whole rows, only stopping at image borders.

Sorting Functions

Sorting function Description
Lightness Sort by the lightness of a pixel according to a HSL representation.
Hue Sort by the hue of a pixel according to a HSL representation.
Saturation Sort by the saturation of a pixel according to a HSL representation.
Intensity Sort by the intensity of a pixel, i.e. the sum of all the RGB values.
Minimum Sort on the minimum RGB value of a pixel (either the R, G or B).

Conclusion

This project can be helpful for customtkinter developers making similar type of applications, it will also help those who want to experiment pixel sorting and glitch art. Support for more projects!

Author: Akascape

pixelort's People

Contributors

akascape avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.