Haxe port of Pixel Sprite Generator by zfedoran, modified to work with Luxe engine as Component
.
WEB Build - http://pub.darekgreenly.com/github/pixel-sprite-generator-luxe
This repo comes with an example usage. You can just copy the folder psg
to your own project.
The sprites are generated by using a two dimensional mask. The values in the mask are then randomized and mirrored. The resulting template is rendered to a texture.
The algorithm is explained in more detail on Dave Bollinger's website.