Skip to content

yurkth/sprator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprator

Sprator is a GUI application to generate sprites using cellular automaton. Generated sprites can be exported as icons with specified color and size.

I do not authorize the use of anything generated by this project for the selling of NFTs.

Installation

You can download Sprator for Windows.

Requirement

Sprator can be build using Visual Studio 2019 and OpenSiv3D v0.4.3.

Usage

Select the sprite and click "Save" to save the PNG.

Sprite color can be set with "Base Color" and background color can be set with "BG Color".

Right-click to change the number of cellular automaton steps.

Theory

  1. Generate 4x8 white noise.

  2. Change the state according to the following rules.

    • Any live cell with two or three neighbors survives.
    • Any dead cell with one or less live neighbors becomes a live cell.
    • All other live cells die in the next generation. Similarly, all other dead cells stay dead.
  3. Repeat steps 2 several times.

  4. Flip and add an outline, complete!

Blog

以前作ったアイコン生成ソフトをリメイクした - 屋根裏

License

Sprator is licensed under the MIT license. See the LICENSE for more information.