Ever wanted to use #Rust to manipulate images like iterators?

image
.map(to_rgb)
.filter(|r, g, b| b > 100)
.collect();

Well, I don't quite have that, but I do have a #monadic-ish library called #obraztam.

https://framagit.org/dcz/obraztam

It's #immutable-first, it has .map() and .zip() and it optimizes to #SIMD instructions. Can be easily parallelized even more.

I used it to detect #laser beams in the picture!

#graphics #monad #iterator

dcz dcz / obraztam · GitLab

Framagit

GitLab