Skip to content

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

Notifications You must be signed in to change notification settings

zigzag1001/pixelWind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages