I make generators on Perchance.org and do a bunch of other cool things.
Links:
That’s a great answer! I’ve never thought of these solutions in a while, maybe even add a warning for that so other newbies could know easily.
You can use the shorthand exp ? if_true : if_false
notation chained together instead of the if ... else
notations. It’s specially used for conditional inline value returns.
[s == "Wolf" ? wolf_gene : s == "Cat" ? cat_gene : s == "Fox" ? fox_gene : ""]
You can also do like this as well:
[({"Wolf": wolf_gene, "Cat": cat_gene, "Fox": fox_gene})[s]]
Since it’s freestyle, I’ve decided to go on an image that represents a state of mindful yet limitless imagination that brings into the greatest and the most wonderful sides of the world. Here’s what it’s turned out.
Generated with: txt2image-generator
Prompt: A young man ((floating with his paint kit largely spilling everywhere)), painting an abstract art on a huge canvas ((at an excellently phenomenal, fresh, vibrant orange sunset background with the large sun, mountains and lakes.)) (((Papers, pencils, brushes, (light bursts, and drops of exploding paint) broadly flying and scattering everywhere from the man))), creating a perfect scene that resonates into the doomed reality, excellent artwork, freestyle, conceptual, majestic photo, creative, 4K, ultra-clear quality, huge light leaks, phenomenal light burst, vibrant color grading, dramatic angle, perfectly aligned, ((colorful, extreme angle shot, vibrant color grading))
Negative Prompt: floating on a lake, paint cans, low quality, bad image, watermark
This is likely an error with the text-to-image-plugin
interfering with some t2i-framework stuff or similar since it’s trying to create the gallery iframe inside the generator, as I was getting the exact same error from the text2image-generator. This error normally doesn’t happen, because the plugin is always set to access that variable (which points to a span
element) under a timeout (which is right after the element was created). I don’t know exactly what causes this, so I’m going to ping @[email protected] so they can address this issue in the meantime.
That error description on the second screenshot is something that I haven’t caught before, I’ve just got one already, but a bit different. I initially thought it was a custom error from the generator, but turned out it was a new type of error from the Perchance engine.
Correction, why is it still shows the old name on the post? And maybe describe a bit what freestyle actually is so people can have some more context to it.
Pinging @[email protected] for this one.
Actually, the bottom side of the outline seems to be blocked up and a bit less thick than the other sides, so I could clearly see that this isn’t such the case. Regardless, I can say it’s pretty rare though, imagine you sought an image with an absolutely perfect red outline that you cannot distinguish it with actual blocked pictures at all (if you’re into admin mode in the gallery).
No problem, I appreciate that!
No problem!
Also, you can make the generator hub page private if you don’t want your favorite generators list to be shown in the generators page (so people can’t see them).
Small trivia: I just fixed the background image issue before posting this by changing the link of the current background to the new one, not because it was broken or removed, but due to an error in the browser when fetching the image from the old link.
An alternative option to this is to create a generator hub page consisting of the favorite generators for yourself (you can create one from this template, there’s even a searchable version). You can even customize it however you want to!
For easier access, you might also want to categorize that generator hub page to the _favorites
folder (the underscore is here so that the folder always goes above the other folders) in your accounts page.
Nevertheless though, I think this one is a pretty cool idea, pinging @[email protected]
I like the blend of colors shading between the moon and the mountain in the image!
@[email protected] I have some suggestions for the feature:
Generated with: txt2image-generator
Prompt: ((a beautiful, one-of-a-kind fascinating, astonishing (((midnight scene))) of a clean lake next to a coastland surrounded by rocks, water splashes, (tiny fireworks, tree roots) and mountains)). The landscape shows itself for (its distribution, advancement, glamour and hardship, shown by its amazing night sky appearance with soft clouds) and the moon, vibrant color grading, nature, vibrant nature, ((night lighting)), beautiful midnight scene
Negative Prompt: watermark, blurry image, bad image quality, sunrise scene, morning scene, pitch black image, fireworks in the sky, small roots, boring mountain placements
(The name of the place was partly inspired from my precious name generator!)
I think the Perchance engine has its own way to handle variable declarations, since it’s also having its own syntax for list coding, maybe that’s why.
you’d make an entire new email address, and perchance account, and set that up in your browser so you can have both accounts open at once?
I might haven’t good enough at describing it - basically I’ll just stay logged out of Perchance entirely for that profile, and not creating an entirely new account, and I might also save the password and the generator link in my massive notes text file in case I lost it. In that case though, I think the private window could be a good alternative besides using a separate browser profile.
Are you planning on signing out every time you want to work on a version? And making a new version?
No, I would instead create a whole separate browser profile, so I don’t have to log out every single time on my primary browser profile.
What I do while working on a new version is, I work on a private/unlisted copy of the generator.
Hmm… I could do that, however I’ve had a fear that the supposedly private generator would go out in the generators page immediately before I quickly set it to private, and that someone would be able to click the link through that page, so I thought creating a separate generator and saving it while not logging in would be a better option, since Perchance will un-list them right after, albeit still being publicly accessible. I know that this phenomenon is very unlikely to happen, but I’m just afraid that it would happen at all.
This is really cool! I’ve tried it now, and I think the saved generator is unlisted by default? If so, I could utilize this feature when working on my generator updates (especially my Generator Manager) so I don’t have to dump the generator codes to a text file every time!
That “saved” interface reminds me of the times when the connection was not good that Perchance was only showing the “save” and “account” buttons, and the save button would still work just like normal.
Yeah, I can feel that. 💡