This is a conversion from Java to Javascript of Random game sprite generator by Boris van Schooten.
https://denilsonsa.github.io/spritegen/spritegen.html
Other links:
TODO:
- Create a better UI.
- Add more sliders and toggles for fine-tuning the parameters.
- Allow re-doing (and/or disabling) specific steps (the last function calls from
PixelArtGen.createSprite
function).
- This certainly requires clearing the
Sprite.pixels
to transparent.
- This might allow recoloring a sprite without changing the shape.
- Even better: visually display the intermediate steps.
- Animate animated sprites.
- Allow mutating a sprite (
PixelArtGen.mergeSprites
function).
- Figure out the differences between this and that.