Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

48 Commits

Folders and files

Repository files navigation

computer_graphics

Description

Computer graphics in Rust.

It's a workspace with different crates.

Binary crates (blue)

cmprust winrust
Main program (draw PPM). Main program (open window).
cmprust winrust

Library crates (white)

  • georust

    • Provides types and methods for geometric concepts.
  • linrust

    • Provides types and methods for computer graphics.
  • ppmrust

    • Provides types and methods for PPM images.
  • renrust

    • Provides methods for rendering.

External crate (red)

  • winit
    • Cross-platform window creation and event loop management library.

Dependencies

graph TD;
    linrust --> georust;

    georust --> renrust;
    ppmrust --> renrust;

    georust -.-> cmprust;
    renrust -.-> cmprust;
    ppmrust -.-> cmprust;

    winit --> winrust

    style cmprust stroke:blue
    style winrust stroke:blue
    style winit stroke:red
Loading

Commands

Version

% rustc --version
# rustc 1.92.0 (ded5c06cf 2025-12-08)

% cargo --version
# cargo 1.92.0 (344c4567c 2025-10-21)

Utils

% cargo build # Compile every crate
% cargo test # Test every crate

% cargo run -p cmprust # Run crate binary
% cargo test -p [name] # Test crate library

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages