Skip to content

About

Draw a simple Voronoi diagram art from any image to the terminal using block graphics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

SimpleVoronoi

Draw a simple Voronoi diagram art from any image to the terminal using block graphics. Computed vonoroi sites by setting thredshold to flood fill and group pixels in similar region to the same centroid.

TerminalImageViewer

I borrowed some code from https://github.com/stefanhaustein/TerminalImageViewer to display block graphics in the terminal

Build

git clone https://github.com/ctkhanhly/SimpleVoronoi.git 
cd SimpleVoronoi 
make 
sudo make install 
simple_vonoroi -w [width] -h [height] -d [distance thredshold for flood_fill] [file_name]

Example

The following is example for

simple_voronoi jisoo.jpg -w 100 -h 100 -d 40 

jisoo jisoo_voronoi

About

Draw a simple Voronoi diagram art from any image to the terminal using block graphics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages