Procedural Generation of 2-Color Textures

Context

My goal is to make a LOT 64x64 textures for a game I wanna try making, or at least see if it's somewhat viable. Most of them would consist of a simple pattern between two colors, from a total palette of 16 colors. However, should the permutation formula still hold up, that would mean about 240 textures per pattern. And if all done manually... well, it'd be way too long for what should be a simple, repeating texture.

(The reason I use permutation rather than combination is that a black-white texture could be vastly different from a white-black texture.)

Problem

There's a lot of textures I gotta make, but given their simplicity, it'd be inefficient to do it all by hand. Not impossible, just extremely tedious. I'd like to be able to find a way to automatically generate all those textures, given one single template texture and a subset of a palette.

My Ideal Pipeline

  1. Doodle a pattern I wanna generate flats out of, monochrome black and white. Simple dithering pattern, complex tiling, any 1-bit texture.
  2. Open up the script, and pick the template file from wherever I exported it to.
  3. Pick the pallete I want to use in the same screen, given either a preset or a gpl file. (The ability to remember what I used last time would also be nice)
  4. Pick sixteen specific colors from whatever palette I'm using, ideally from a 256-color palette. Ideally, any arbitrary number of colors could work, so long as it works with the 1-bit templates I use.
  5. Specify a directory to put all those generated files in, and/or have a seperate button to run the script itself.
  6. 240 textures, all ready to be put into SLADE3 and converted into usable flats!

There are some tools for procedural generation of pixelart, a few are:

  • Pixel Composer
  • CryPixels
  • Sprite Forge
  • PixiEditor(In a Future Update)

Hope they solve your problem

Thanks for the suggestions, but looking into most of the sofware you suggested, all of them seem rather overkill for what I want to do. They’re fully kitted for procuedural generation with entire shading, VFX, just about everything and the kitchen sink… I’m just looking to generate simplistic 2-bit textures with nothing more than a black 'n white pattern.


To better illustrate what I’m looking for, I threw together a somewhat crude mockup of the sort of program/Aseprite script/utility I’m looking for.