Daily Shaarli
September 26, 2022
Rust questions which are quite tricky. I learned a lot (mostly useless) knowledge form it.
An interesting and simple algorithm to blend two images seamlessly.
TL;DR: do not copy-paste the pixel itself, copy-paste the gradient of the pixel, and then solve for the optimal pixel's value subjecting to an energy function, which takes into account the boundary of background image and the gradient of the source image.
More articles on the topic:
Web based game console (and mobile) simulator presented as a feed.
Project repo: https://github.com/webrcade/webrcade