4 releases

0.1.3 Dec 27, 2020
0.1.2 May 29, 2020
0.1.1 May 26, 2020
0.1.0 May 26, 2020

#823 in Images

38 downloads per month

Apache-2.0

12KB
323 lines

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.

Dependencies

~310KB