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

#919 in Images

Download history 4/week @ 2024-12-27 20/week @ 2025-01-03 46/week @ 2025-01-10 3/week @ 2025-01-17 3/week @ 2025-01-24 88/week @ 2025-01-31 45/week @ 2025-02-07 8/week @ 2025-02-14

144 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

~325KB