Skip to content

vladdeSV/me-generator

Repository files navigation

Note: This generator is in alpha state, so any changes to the algorithm may occur until v1 is released. Specific seeds will most likely not work reliably until then.

Syntax for defining rules are still work in progress. Changes may occur at any time.

me-generator

Generate an image with random pieces of clothing / cosmetics.

seed: tacos
seed: salsa
seed: guppy
seed: 469f0b0cb93a9592

Examples generated using this rulebook from vladdeSV/me-generator-images.

Project

The projects consists of multiple parts:

  • Generator, rulebook for how image should be combined
  • SVG combiner, combines multiple .svg files into one

Hack

Please keep in mind; in essence, this is a glorified SVG-combiner. An image is generated from a rulebook. This rulebook specifies the images which will be used, and all rules when generating the image.

I highly recommend looking at the example rulebook, or start a discussion.

Examples

parts output

from shapes/rulebook.json

{
  // ...
  "generation": [
    ["magenta", null],
    ["cyan", "red"],
    ["yellow", "green"]
  ]
}

one of…

from z-index/rulebook.json

{
  // ...
  "indexes": [
    [
      "three",
      "under",
      "twelve#two"
    ]
  ]
}

Roadmap

Nothing is set in stone.

  • Custom rules
    • Custom part weight
    • Part disallows some other part
    • Part require some other part
    • Multi-layered parts, sandwich parts between groups of SVG
  • Target groups of parts

Why

Have you heard of The Binding of Isaac: Rebirth?

License

MIT © Vladimirs Nordholm

About

Generate an image with random pieces of clothing / cosmetics. Not for NFTs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published