https://github.com/tryone144/dual-kawase-demo
Demo app to test different parameters for the dual-filter kawase blur algorithm
https://github.com/tryone144/dual-kawase-demo
blur blur-image dual-kawase glsl rust sdl2
Last synced: about 1 month ago
JSON representation
Demo app to test different parameters for the dual-filter kawase blur algorithm
- Host: GitHub
- URL: https://github.com/tryone144/dual-kawase-demo
- Owner: tryone144
- License: apache-2.0
- Created: 2019-06-13T23:57:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-14T20:15:33.000Z (over 5 years ago)
- Last Synced: 2025-03-28T06:01:35.130Z (about 2 months ago)
- Topics: blur, blur-image, dual-kawase, glsl, rust, sdl2
- Language: Rust
- Size: 198 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
dual-kawase-demo
================**Simple live demo of the dual-filter kawase blur algorithm.**
This is just a simple test project as of now. It might kill your cat!
## Build
Just clone this repo and build with `cargo`:
```sh
$ git clone https://github.com/tryone144/dual-kawase-demo && cd dual-kawase-demo
$ cargo build
$ cargo run -- /path/to/image.(png|jpg)
```You can then modify the number of iterations and the pixel offset width the arrow-keys.
Reset all parameters with `R` and save the blurred image to a file with `CTRL-S`.
Some (arbitrary) presets are available via the number keys `1` to `9`.
Toggle fullscreen/windowed display with `F`.---
## License
dual-kawase-demo is licensed under either of
* [Apache License, Version 2.0](./LICENSE-APACHE) (see http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](./LICENSE-MIT) (see http://opensource.org/licenses/MIT)at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in portal-rc by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
## Legal
The bundled [Ubuntu Monospace](./assets/UbuntuMono-R.ttf) font is licensed under the [Ubuntu Font Licence Version 1.0](./assets/ubuntu-font-license-1.0.txt) (see https://ubuntu.com/legal/font-licence) and NOT covered by the above lincenses.