BluePower

joined 1 year ago
MODERATOR OF
[โ€“] BluePower 2 points 7 months ago* (last edited 7 months ago)

It's text2image since the framework was originally used to create customizable text-to-image generators I think.

[โ€“] BluePower 2 points 7 months ago

Thanks! I appreciate it! ๐Ÿ˜ƒ

I'm going to do a few more updates and release a few more things before heading to the "revival" plan and eventually the big Generator Manager update.

[โ€“] BluePower 1 points 7 months ago

Nice! I didn't know this was a problem with the engine, not just the template.

[โ€“] BluePower 1 points 7 months ago

Oh, nice to know! In image contests in Casual Perchance you put your image submission like this in the comments of the contest's post.

[โ€“] BluePower 1 points 7 months ago

There isn't much changed from the outlooks, but if you look closely there is only one "Start Learning" button below the example code section, there is no video tutorial section, there is no instruction on how to embed a generator (which I guess is still not a thing at that time) and there is even no "try this example" button that redirects to this example that was also linked in the old page somewhere nearby.

[โ€“] BluePower 3 points 7 months ago

For me though, Perchance is really just a foundation for me to actually create things I like and engage with other creations since I discovered it back in 2022 when it's just plain simple (there was no hub, very simple welcome page, fewer plugins, simpler comments plugin UI, etc.) and there wasn't any AI image stuff or t2i generators yet. And that's the reason why the Generator Manager (my generator hub page) is here. I started to like it so much that I published my first own creation even published here on this platform. Love to see how it evolves, though, and glad this was explained in this Lemmy community!

[โ€“] BluePower 2 points 7 months ago (4 children)

Did you intent to submit it into the image contest or you just wanted to post the image into the community? Overall, it's cool ๐ŸŒŸ

[โ€“] BluePower 2 points 7 months ago

Yeah, I can feel that. ๐Ÿ’ก

[โ€“] BluePower 1 points 7 months ago

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.

[โ€“] BluePower 2 points 7 months ago

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]]
[โ€“] BluePower 5 points 7 months ago (4 children)

The Great Dreamscape of Serene Imagination

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.

DetailsGenerated 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

1
submitted 11 months ago* (last edited 11 months ago) by BluePower to c/[email protected]
 

Time for another trailer about the big Generator Manager 2.0.20.1 update! I have just started planning and getting to work on building the changes for the big update very soon, from the latest Preview update, and I hope that this goes well enough so that I could finish it in basically a few days from now. But there are three more off-Preview changes I want to mention here: new backgrounds and accent colors (of course), new sidebar items, and finally, the introduction of dark mode for the very first time ever!

And there's just so many more coming out for the huge update...

 

Since the new backups feature was released, which adds an ability to create restore points of generators in a case I accidentally closed a tab while the generator isn't saved yet. But I sometimes work on updating generators through a logged-out session or, when creating a new generator (hitting the new button in the navigation bar and it opens up the minimal template), which is in an unowned generators session (only save and account buttons in the top-right).

And so, I'd need that feature to work on these kinds of environments, so I don't ever have to worry losing all the work there, especially when creating new generators.

 

This is a pretty interesting topic to talk about. Whenever I feel want to bring a generator to the top of the generators page, hoping for a few people to click on them through the page, I always feel like the only way is to save the generator and made some tiny changes if possible. But, what if I don't want to actually change any of the content in a generator, and still be able to save it?

Well, I know there's now a system where if you edit a generator and then undo/edit it back to its exact original/saved state (basically reverting it) Perchance will auto-detect that and the save button will go back to the saved state. This is a great feature honestly, but it's still possible to do the trick but the generator's content needs to be different from the original state, at least a character off. For example, adding an unobtrusive space around the lists code, or moving the list items up or down (Ctrl+Shift+Up/Ctrl+Shift+Down) and then saving right away.

But what do you think about this?

 

After I finished working on my drawing, I spent some extra time on the event drawing small custom/abstract flags inspired from generated flags from my flag generator, placed on random locations of tiny available spaces on the canvas. Mainly just to help fill the canvas, but overall, that was a cool and fun idea.

I drew a total of 40 flags, but not all of them managed to survive until the end of the event. So, I double-checked and counted all the survived flags, and in total, there are 34 survived flags on the canvas. If you managed to find all of them, I'll reveal a huge list of locations in the comments!

These are some of the mini flags, for a bit of a hint.

 

cross-posted from: https://sh.itjust.works/post/22277134

๐Ÿ“ Canvas location

I'm happy I could finish a 158-pixel-wide drawing mostly (if not all) by myself ever since the time when the canvas was expanded (took around 2 days to finish). At the time the canvas had much more space to build in that I instantly got an idea to build a template incorporating the two URLs of my most popular Perchance projects (Power Generator Manager and Power Flag Generator (a.k.a. Random Custom Flag)) and some references.

There was a bit of an adjustment when someone was drawing overlapping on my template, but it was fine, I then planned to move some parts around.

Now, while I look around the canvas, I wanted to draw more custom/abstract flags scattered around the entire canvas (in tiny available spaces of course) during the remaining time of the event, just to help fill more pixels around the flag layouts/models will be grabbed from my flag generator. Here's a group of the blank versions for a reference. What do you think?

36
submitted 11 months ago* (last edited 11 months ago) by BluePower to c/[email protected]
 

๐Ÿ“ Canvas location

I'm happy I could finish a 158-pixel-wide drawing mostly (if not all) by myself ever since the time when the canvas was expanded (took around 2 days to finish). At the time the canvas had much more space to build in that I instantly got an idea to build a template incorporating the two URLs of my most popular Perchance projects (Power Generator Manager and Power Flag Generator (a.k.a. Random Custom Flag)) and some references.

There was a bit of an adjustment when someone was drawing overlapping on my template, but it was fine, I then planned to move some parts around.

Now, while I look around the canvas, I wanted to draw more custom/abstract flags scattered around the entire canvas (in tiny available spaces of course) during the remaining time of the event, just to help fill more pixels around the flag layouts/models will be grabbed from my flag generator. Here's a group of the blank versions for a reference. What do you think?

 

In case you haven't heard yet, there's an ongoing Canvas event inclusive to the entire Fediverse, similar to Reddit's r/place, that encourages people to place pixels one at a time and draw some cool pixel arts. I participated in the event, and eventually made my own template and started working on it. It is still in progress, though I wanted to post something like this to the community.

Here's a link to the template if you want to look around or would like to help.

Btw, there's a reference about the upcoming huge Generator Manager update!

 

I just discovered another interesting feature utilizing the generatorName altering solution but it is even more powerful. You can basically pull comments and text to image galleries from multiple generators in a single generator page, simply by putting multiple [generatorName = "<generator name>", ""] blocks inside the comments plugin/text to image gallery block calls, according to the left-to-right Perchance code reading mechanism (see the "Execution Order" section in the examples page).

For example, I can have two comments sections, one from my generator hub page and the other from the generators page, and then put an ai-text-to-image-generator gallery, all in one single generator.

Currently didn't have much time to explain it better (but feel free to do so!) Here's a very simple example I made demonstrating the feature.

3
Empty/Blank Generators (self.perchance)
submitted 11 months ago by BluePower to c/[email protected]
 

I've discovered a number of blank/empty generators that have zero lines of code on both the list and HTML panels. Here's a compiled list of them that I could find:

If you happen to find another one of these, please let me know!

 

After revisiting, recalling and reevaluating my plans about the big update, so many times, I think it's time for a new trailer about the huge update!

Remember these small, interesting test generators I made that I've been pulling out from the generator hub page over a year ago? Chances are, if you've stumbled upon my page since a very long time ago, you might remember some of them, like Typewriter Speed Test, Fake Error Generator, and The Computer Based Story. And this time, with the huge update, I'll be bringing back those generators with a little bit of twist - they will only be accessible with a special URL parameter you can put in the link, like ?enableRawStats=true.

And this will not only be one of the notable changes I'll make in the update - there's a lot more to come!

 

This is a trick I've stumbled upon several days ago, and I haven't seen it documented anywhere in the examples or advanced tutorial page. If you don't feel like the traditional Markdown style when using the Markdown plugin and simply wanted to use the usual HTML style, you can simply do this:

markdown = {import:markdown-plugin}

output = [markdown(text).replace("markdown-body", "")]

The .replace("markdown-body", "") part is what makes the formatted text loses the Markdown style and goes into the regular HTML style which then you can stylize yourself using CSS to whatever you want. It essentially removes the markdown-body class in the body of the entire markdown text (or that's what I could explain).

4
submitted 11 months ago* (last edited 11 months ago) by BluePower to c/[email protected]
 

Forget to revisit the generator the moment it reached that since I've been on a long trip, but the flag generator has finally reached the second big milestone that the Generator Manager has done about two months ago. I don't have much to say about this one, but still, that's an incredible milestone! ๐Ÿ™‚

(Btw, this is a trailer I did months ago about the huge UI revamp update)

view more: โ€น prev next โ€บ