Skip to content

huangruoqi/Anti-Aliasing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Anti-Aliasing Line

A desktop application with a canvas to draw lines, and the line will be displayed with anti-aliasing techniques.

Install Rust: https://www.rust-lang.org/tools/install

Execute either one of the following commands in terminal

  • cargo run --bin anti-aliasing for anti-aliasing
  • cargo run --bin linear for linear texture filter

Library:

  • using ferrux_canvas currently, open to other Canvas implementations
  • using macroquad for linear texture filter

Progress:

  • Bresenham's line algorithm
  • Xiaolin Wu's line algorithm
  • Fast-Approximate Anti-Aliasing (FXAA)
  • Supersampling Anti-Aliasing (SSAA)
  • Linear Texture Filter

About

Implementation and demonstration of anti-aliasing algorithm in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages