Hello! I hope I’m not being annoying by posting another thread, but thanks to my earlier post I was able to more or less finish my generator! However new ideas have sparked up and I can’t seem to get them to work despite my best efforts again :(

I have three things I am trying to do-

  1. I am trying to make it so that the marking will only generate darker than the random base it chooses out of the hue, saturation, and brightness values. I think I managed to do this, but I am not 100% sure and wanted it double checked.

  2. I want to separate the underbelly into three different parts. Underbelly, paws, and face. However, I want the paws and face to generate as the same opacity as the underbelly.

  3. I haven’t tried this yet, but I assume it would work the same as the others? But I want to add more leg fades, but they will clash with other paws. Essentially I want certain fades to generate with certain paw types. Would this work the same as what I have for how certain markings will only generate on certain bases?

Thank you again, you all have been so much help getting my generator to where it is now, I’m excited to expand it and make it even better for the small community it’s being made for.

  • wthit56@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago
    1. I don’t know how you’ve built it so far, but you might want to look into the backdrop-filter css property, which affects whatever happens to be underneath the image. Maybe you could darken the image below with the markings, sort of thing.
    2. I guess store that opacity and use it in other places.
    3. I guess? 🤷
  • perchance@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month ago

    RE “I want the paws and face to generate as the same opacity as the underbelly.”

    At the start of your output items you’d add something like [o1 = "0.{0-99}".evaluateItem, ""] then wherever you write [o1] you’ll get that same opacity. And of course you can have lots of variables like this - e.g. [o1 = "0.{0-99}".evaluateItem, o2 = "0.{0-99}".evaluateItem, ""].

    Also instead of "0.{0-99}".evaluateItem (which is a bit hacky-looking) you can use Math.random() which returns a decimal number between 0 and 1.

    In general, doing “global coordination” between various aspects of your generator will require creating variables like this “up front” and then using them in various places.

    BTW, Imgur has betrayed everyone and started deleting images, so it’s probably a good idea to use perchance.org/upload instead. I’ve moved the note about this to the top of the image layer combiner plugin page. And I’d use webp image format because they’re much smaller (especially for gradient images - like 10x smaller), so they’ll load faster and use up less upload storage space. Webp supports transparency and animations, so they basically replace all other formats - gif, png, and jpg. You can use squoosh.app or photopea.com to convert to webp if needed. Someone should probably make a perchance page that makes it easy for people to mass-convert imgur images using the super fetch plugin and upload plugin. Bascially, paste lists with imgur links in, get lists with perchance upload links out. If someone does that I’ll link it from the image layer combiner plugin page.