Announcing Rust library: blit

1 minute read Published: 2018-01-06

Blit is a Rust library for quickly rendering sprites on an image buffer.

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