Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 958 Bytes

README.org

File metadata and controls

29 lines (25 loc) · 958 Bytes

Recamán sequence SVG generator

Creates an SVG image based on the Recamán sequence.

Inspiration

The rendered image is inspired by the Visions of the Universe book by Alex Bellos and Edmund Harriss.

Example

./example.svg Animated example.

Building

$ cargo build --release

The resulting binary will be at target/release/recaman-svg.

Usage

USAGE:
    recaman-svg [OPTIONS] <OUTPUT>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -n, --amount <amount>                Amount of Recamán points to generate. [default: 20]
    -w, --stroke_width <stroke width>    Stroke width of the line in the image. [default: 1.0]

ARGS:
    <OUTPUT>    Write SVG to OUTPUT.