floodfill

command module
v0.0.0-...-5aa5329 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 9 Imported by: 0

README

Floodfill

Generate floodfill gif

Usage

This program is build to use in command line mode.

$ floodfill SOURCE DEST

SOURCE → png image used for source DEST → gif output

The flag --delay <int> can be used to set delay between each gif frame, default is 10

floodfill --delay 3 SOURCE DEST

For a source like this:

It will generate an output like that:

A white pixel will be colored. Starting points are one pixel colored different form black or white. And black borders will stop the propagation.


Unlike my cousin, this program can color without overstepping.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL