svg_face 0.1.3

Generates random SVG faces
Documentation

svg_face

This is a straightforward port of https://github.com/anokhee/visual-synthesizer to Rust.

use rand::SeedableRng;

fn main() -> std::io::Result<()> {
    let mut rng = rand_xorshift::XorShiftRng::from_entropy();
    let mut file = std::fs::File::create("face.svg")?;
    svg_face::generate_face(&mut file, &mut rng)
}

face

To try it yourself, run git clone https://github.com/dabreegster/svg_face && cd svg_face && cargo run --example aface.