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
發布數2
最新版本名稱v0.0.2 (發布於 )
第一版名稱v0.0.1 (發布於 )
創建於2014-11-23 17:45:13
推送於2021-09-03 17:59:46
最后一次提交2021-09-03 13:59:46
星數589
關注者數38
派生數56
提交數25
已啟用問題?
問題數4
打開的問題數2
拉請求數3
打開的拉請求數1
關閉的拉請求數0
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部