pixel-sprite-generator

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

Github星跟踪图

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.

主要指标

概览
名称与所有者zfedoran/pixel-sprite-generator
主编程语言JavaScript
编程语言JavaScript (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2014-11-23 17:45:13
推送于2021-09-03 17:59:46
最后一次提交2021-09-03 13:59:46
发布数2
最新版本名称v0.0.2 (发布于 )
第一版名称v0.0.1 (发布于 )
用户参与
星数600
关注者数38
派生数56
提交数25
已启用问题?
问题数4
打开的问题数2
拉请求数3
打开的拉请求数1
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?