#circle #vi #png #add-element

bin+lib vizzavi

Eperimental Visualization Library

2 unstable releases

new 0.2.0 May 23, 2025
0.1.0 May 23, 2025

#501 in Images

29 downloads per month

MIT/Apache

18KB
282 lines

vizz a vi

Red Circle

use vizzavi::*;

let mut figure = Figure::new();
figure.set_xlim([0., 400.]);
figure.set_ylim([0., 300.]);

let circle = Circle {
    middle: [150., 200.].into(),
    radius: 30.,
    color: [200, 0, 0],
};
figure.add_element(circle);

figure.save_image([400, 300], "figures/red-circle.png")?;

vizz - Whatever this is going to do in the future

GitHub Actions Workflow Status

Dependencies

~7.5MB
~154K SLoC