Skip to content
/ sprator Public

A GUI application to generate random sprites and export as icon.

License

Notifications You must be signed in to change notification settings

yurkth/sprator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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.

Installation

You can download Sprator for Windows.

Requirement

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

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 a outline, complete!

Blog

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

License

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