An open API service indexing awesome lists of open source software.

https://github.com/zigzag1001/pixelwind

A tool to apply fun pixel-sorting-esque effects to images and videos.
https://github.com/zigzag1001/pixelwind

image-processing pixel-sorting stb-image

Last synced: 12 months ago
JSON representation

A tool to apply fun pixel-sorting-esque effects to images and videos.

Awesome Lists containing this project

README

          



pixelWind



Edgy image processing 😎




A tool to apply fun pixel-sorting-esque effects to images.




Examples 👇



Images


`./main img.png ` `-x` `-y`

(constrain deformation to only x or y axis)


Videos

`./main input.gif -y -I 3 -O 5`

(previous gif, only y axis, Iterate each frame 3 times, random Offset 5)

# Usage

Example Usage: `./main img.png -O 4 -y -o cool.gif`

`img.png` - Input image

`-O 4` - Maximum pixel offset of 4

`-y` - Only offset y axis

`-o cool.gif` - Output file cool.gif


Options:

`-I` iterations: Number of frames to generate (default 50)

`-O` offset: Maximum pixel offset (default 2)

`-t` tolerance: Minimum brightness to trigger effect (default 128)

`-f` frame_rate: Frame rate of output gif (default 20)

`-r` randChance: Chance of effect happening (default 10)

`-m` mode: Effect mode bleed/diffuse/wind/haze (default bleed)

`-x` Only offset x axis

`-y` Only offset y axis

`-o` output: Output file (default output.gif)

`-i` input: Input file

`-h` Show help

`image`: Path to image


![pfp](https://github.com/user-attachments/assets/07ca5e0a-2755-4466-bc87-58645d984027)