Skip to content

Zielak/pixel-sprite-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixel-sprite-generator

Haxe port of Pixel Sprite Generator by zfedoran.

Live Example

SWF - https://pub.darekgreenly.com/github/pixel-sprite-generator/PixelSpriteGenerator.swf

HTML/JS - https://pub.darekgreenly.com/github/pixel-sprite-generator/index.html

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.

About

Haxe procedural sprite generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haxe 100.0%