finneon

Crates.iofinneon
lib.rsfinneon
version0.1.3
sourcesrc
created_at2024-02-24 14:09:06.117062
updated_at2024-03-06 18:01:55.426027
descriptionImage post processing library
homepage
repository
max_upload_size
id1151659
size10,208,814
Calin P (wyvernbw)

documentation

README

Finneon 🐠

Finneon is a simple rust image post processing library.

#[derive(Debug, Clone)]
struct Block {
    texture: Sampler,
}

fn fragment(
    FragColor(color): FragColor,
    Uv(uv): Uv,
    Uniforms(block): Uniforms<Block>
) -> Vec4 {
    let sample = block.texture.sample_u8(uv);
    sample.lerp(color, uv.y)
}

The api is a modern take on shader apis, using the extractor pattern. It allows for quick prototying and easy to read code.

The api is simpler than any graphics api but offers worse performance as all the work is done in parallel on the cpu.

Examples

Head over to the examples folder for a showcase of what you can do with finneon.

Commit count: 0

cargo fmt