pixel-sprite-generator

JavaScript 程序精灵生成器。「JavaScript procedural sprite generator」

Github stars Tracking Chart

pixel-sprite-generator

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

Live Example

http://plnkr.co/edit/Dji8rljS0yDL16Ao8Iq6?p=preview

Installation

Using Bower

If you have bower installed, you can add the pixel-sprite-generator to your project using the following command.

bower install pixel-sprite-generator

Using NPM

If you have npm installed, you can add the pixel-sprite-generator to your project using the following command.

npm install pixel-sprite-generator

Ports/Other Languages

Similar Projects

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.

Overview

Name With Ownerzfedoran/pixel-sprite-generator
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 2)
Platform
License:MIT License
Release Count2
Last Release Namev0.0.2 (Posted on )
First Release Namev0.0.1 (Posted on )
Created At2014-11-23 17:45:13
Pushed At2021-09-03 17:59:46
Last Commit At2021-09-03 13:59:46
Stargazers Count589
Watchers Count38
Fork Count56
Commits Count25
Has Issues Enabled
Issues Count4
Issue Open Count2
Pull Requests Count3
Pull Requests Open Count1
Pull Requests Close Count0
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top