https://github.com/yurkth/sprator
A GUI application to generate random sprites and export as icon.
https://github.com/yurkth/sprator
opensiv3d pixel-art procedural procedural-generation procgen siv3d
Last synced: 2 days ago
JSON representation
A GUI application to generate random sprites and export as icon.
- Host: GitHub
- URL: https://github.com/yurkth/sprator
- Owner: yurkth
- License: mit
- Created: 2020-01-16T19:01:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-20T18:45:49.000Z (over 3 years ago)
- Last Synced: 2025-04-25T17:16:56.511Z (2 days ago)
- Topics: opensiv3d, pixel-art, procedural, procedural-generation, procgen, siv3d
- Language: C++
- Homepage:
- Size: 32.6 MB
- Stars: 169
- Watchers: 7
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sprator
Sprator is a GUI application to generate sprites using [cellular automaton](https://en.wikipedia.org/wiki/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](https://github.com/yurkth/sprator/releases) Sprator for Windows.
## Requirement
Sprator can be build using [Visual Studio 2019](https://visualstudio.microsoft.com/ja/vs/) and [OpenSiv3D v0.4.3](https://github.com/Siv3D/OpenSiv3D).
## 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
[以前作ったアイコン生成ソフトをリメイクした - 屋根裏](https://yurkth.hateblo.jp/entry/sprite-generator)
## License
Sprator is licensed under the MIT license. See the [LICENSE](/LICENSE) for more information.