pixel-sprite-generator 0.0.2

Procedural pixel sprite generator similar to the old days of video game sprites. The sprites are algorithmically generated by combinatorial methods.

Released 2014-11-29.

To install, run:

haxelib install pixel-sprite-generator 0.0.2

See using Haxelib in Haxelib documentation for more information.

MaintainerZielak
Websitehttps://github.com/Zielak/pixel-sprite-generator
Current version0.0.2
StatisticsInstalled 48 times
LicenseMIT
Tags

README.md

pixel-sprite-generator

Haxe port of Pixel Sprite Generator by zfedoran.

Live Example

SWF - [http://zielak.pl/pub/github/pixel-sprite-generator/PixelSpriteGenerator.swf](http://zielak.pl/pub/github/pixel-sprite-generator/PixelSpriteGenerator.swf)

HTML/JS - [http://zielak.pl/pub/github/pixel-sprite-generator/](http://zielak.pl/pub/github/pixel-sprite-generator/)

Installation

Using Haxelib

haxelib install pixel-sprite-generator

Algorithm

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 canvas element.

The algorithm is explained in more detail on Dave Bollinger's website.