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.
- Host: GitHub
- URL: https://github.com/zigzag1001/pixelwind
- Owner: zigzag1001
- Created: 2023-04-22T04:08:58.000Z (almost 3 years ago)
- Default Branch: rewrite
- Last Pushed: 2025-02-14T06:40:45.000Z (about 1 year ago)
- Last Synced: 2025-02-14T07:31:21.313Z (about 1 year ago)
- Topics: image-processing, pixel-sorting, stb-image
- Language: C
- Homepage: https://zigzag1001.github.io/pixelWind/
- Size: 95.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
