Skip to content

Kartezjan/neon_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

neon_generator

Generates light effects (neons) from pixels.

##Arguments:

  1. input file (*.png files preferred)
  2. output file (also *png)
  3. pixel colour white list (pixels with different RGBA values are discarded - turned into (0,0,0,0) )
  4. standard deviation (floating-point number)
  5. radius towards X axis
  6. radius towards Y axis
  7. light intensity amplifier (how much more bright it is)

##White list file Separate colours with return character (\n). Separate RGBA values with space.

example:

0 255 255 255

255 0 0 255

255 0 255 255

0 255 174 255

255 0 228 255

0 198 255 255

##Example use

neon_generator.exe cyan_charge.png output.png whitelist.txt 4 11 11 200.0f

whitelist.txt is the same as in example above.

Original file:

alt text

Output file:

alt text

About

Generates light effects (neons) from pixels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages