Skip to content

henninglive/gamma-correction-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gamma-correction-demo

Integrative demo of a gamma curve implemented using Rust and SDL2. Press up/down to change the gamma factor.

Build Requirements

  • SDL2
  • pkg-config

Build and Run

  1. Ensure you have current version of cargo and Rust installed
  2. Clone the project $ git clone https://github.com/henninglive/gamma-correction-demo/ && cd gamma-correction-demo
  3. Build the project $ cargo build --release (NOTE: There is a large performance differnce when compiling without optimizations, so I recommend alwasy using --release to enable to them)
  4. Once complete, the binary will be located at target/release/gamma-correction-demo
  5. Use $ cargo run --release to build and then run, in one step

About

Integrative demo of a gamma curve implemented using Rust and SDL2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages