Announcing Rust library: blit
06-Jan-2018 · 129 words · 1 min

Blit is a library I started developing.

It's part of a set of tools that can be used to create game engines.

It allows you to draw images to another image buffer with a mask ("blitting") as you can see in this example:


The left smiley is the source image, the pink background is the mask. The right smiley is another instance of the image "blitted" on top of it, masking all the pink pixels out.

This is all done using software rendering so the library should work on all platforms.

Future optimization features I wish to add include:

source code


ld46 · posts · whoami · github · email · home