Skip to content
/ hcurve Public

A simple command-line utility for generating pseudo Hilbert curves' visualizations.

Notifications You must be signed in to change notification settings

Lrapava/hcurve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Lrapava/hcurve

Lrapava/hcurve is a simple command-line utility for generating pseudo Hilbert curves' visualizations.

hcurve --help

Lrapava/hcurve is a simple command-line utility for generating pseudo Hilbert curves' visualizations.
You can view source-code at https://github.com/Lrapava/hcurve
For more informatiob about Hilbert curve view https://youtu.be/3s7h2MHQtxc

Usage:
hcurve [OPTION..] ORDER
Options:
--help         | -h   displays this message
--ascii        | -a   visualizes the curve in form of ascii art
--color        | -c   visualizes the curve in form of ppm
--grey         | -g   visualizes the curve in form of pgm
--instructions | -i   outputs "instructions" for building the curve (F - move forward, + - rotate right by 90 degrees, - - rotate left by 90 degrees)
--rainbow      | -r   the color (if used with -c) or the brightness (if used with -g) of the curve changes depending on the length of the curve
--zero         | -z   sets padding to 0 and weight to 1
--weight=X            sets width of the curve to X
--padding=X           sets padding to X
--background=X        fills the background with X

Sample images

demo

About

A simple command-line utility for generating pseudo Hilbert curves' visualizations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages