GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - larryng/primg: Reproducing images with geometric primitives. Rust port of https://github.com/fogleman/primitive

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

primg

Primitive Pictures ported to Rust.

Some features missing, but roughly 1.5x faster.

Usage

$ cargo run --bin main --release -- --help
    Finished release [optimized] target(s) in 0.0 secs
     Running `target/release/main --help`
primg

USAGE:
    main [OPTIONS] <INFILE> <OUTFILE>

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

OPTIONS:
    -a, --alpha <alpha>                Alpha (1-255) [default: 128]
    -n, --num-shapes <num-shapes>      Number of shapes [default: 100]
    -s, --output-size <output-size>    Output size [default: 1024]
    -q, --quality <quality>            Quality (1-3) [default: 2]
    -t, --shape <shape>                Shape type (triangle, ellipse, rectangle, rotated-rectangle) [default: triangle]

ARGS:
    <INFILE>     Path to image file
    <OUTFILE>    Output file path

About

Reproducing images with geometric primitives. Rust port of https://github.com/fogleman/primitive

Resources

Readme
MIT license
Activity

Stars

7 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.