Alllo

joined 11 months ago
MODERATOR OF
[–] Alllo 2 points 3 months ago* (last edited 3 months ago) (5 children)

Dont have time atm to go further and on Comments currently but here's this

Some text in red has periods some not grammar Second sentence is not a full sentence grammatically. You do this some but i only marked this one. its should be it's

also i would detail more the three different Quote options

[–] Alllo 3 points 3 months ago

900% true: "It seems legislators of this bill have no clue what they are talking about."

[–] Alllo 3 points 3 months ago (1 children)

Cool!

Um, hao return to minimized with just an icon after having touched it and expanded the bar? Also: hao choose minimized icon?

i hope foobar's a cool generator

[–] Alllo 1 points 3 months ago

Thank you! the root thing worked. turns out i had a capital letter where there shouldnt have been one and that's why my list wasn't being translated from the string correctly. silly and my fault and nothing about language. thanks for the help tho!

[–] Alllo 1 points 3 months ago* (last edited 3 months ago) (2 children)

edit: oops. was cuz i had a wrong capitalization of a list lol. totally my fault and nothing to do with language syntax! :) thanks. very much works

what i had typed about the specifics before solving

you and vionet so smart but i think none of those work for this.

i have my style buttons that i want to be like, for the Bright style for example: <button onclick="genimgs(this)">Bright</button> a little more complicated but basically a bunch of buttons exactly like this, but with different stylenames, all pointing to genimgs(button)

genimgs(button) is then, in it's simplified form, this: `

function genimgs(buttonobject){

let promptData = {

prompt: prompt + " " + root[buttonobject.innerHTML],

negativePrompt:"bad",

resolution: 768x512,

guidanceScale: 7,

seed: 100,

}

document.getElementById("imgs").innerHTML = image(promptData).evaluateItem

}

`

in genimgs, buttonobject.innerHTML does indeed equal "Bright". So I want it to pull a line from the Perchance list called Bright, like the Anime button should go to this function, be translated in to the string Anime, and pull a line from the Perchance list Anime. But see how I can't just type out the word Bright or Anime with no quotes like you and vioneT suggest. It is a string I am getting from a button. It could be tons of different strings. I then need to convert the string in to it's relevant Perchance List. I believe, in normal JS, if root.Bright were my list, root[buttonobject.innerHTML] would retrieve it since in normal JS they are equivalent. But not here and nor do I know the Perchancian way to do it.

[–] Alllo 1 points 3 months ago* (last edited 3 months ago) (2 children)

ty tho maybe i missexplained.

let xx = "Bright"; alert(root[xx])

in normal javascript, this would access root.Bright. (interesting about 'root'. didnt kno that)

The above is what I'm trying to do. I have the word for the name of the list on a variable. Hao access list from variable?

I have the variable xx storing the string "Bright". Hao maek alert say a list item from the list named "Bright"?

[–] Alllo 2 points 3 months ago* (last edited 3 months ago) (1 children)

idk what you mean but here's a better summary

"anime anime anime fluttershy" on the anime style makes Anime

"anime anime anime Starlight Glimmer" on the anime style makes Anthro which i think is aptly named as a model, Pony Diffusion

thus science

and also Starlight Glimmer is the best

[–] Alllo 2 points 3 months ago* (last edited 3 months ago) (1 children)

Pony Diffusion is the name of the furry model isnt it? https://civitai.com/models/257749?modelVersionId=297064

[–] Alllo 2 points 3 months ago (1 children)

very nice. good 'boundary-of-what-exists-so-far pushing'

inputs could use lower zIndex than hints

[–] Alllo 2 points 3 months ago (6 children)

I got an unusual one today. pinging @VioneT to add to the triggerwords list...

"Starlight Glimmer", name of the greatest My Little Pony character, singlehoofedly makes the model Pony Diffusion.

all hail Starlight Glimmer

[–] Alllo 1 points 3 months ago

https://lemmy.world/post/18404805

summary: You need clearance level above grand admiral to know even the simplest model

[–] Alllo 2 points 3 months ago

Could be, tho I came across a different first name that they actually used for themself long ago. I wont say cuz of privacy but maybe you can find it :)

it is not on any site of the Perchance Domain

 

Submitted my new hub/generator to the jam and will make public and explain it tomorrow. Here is a fascinating thing findable in it's background though. Imagine the beautiful things that can be built from this.

https://perchance.org/allofae

2
[plugin] linkbox (lemmy.world)
submitted 9 months ago by Alllo to c/perchance
 

https://perchance.org/linkboxexample

A button that, when touched, toggles open and closed a bunch of links.

My hub has started becoming unwieldy because of masses of links and this object, in shareable plugin form, is what I built for a better way to do my links.

have a great, progressfilled day all :)

 

https://perchance.org/oneclickdownloadexample To, upon generating an image with text to image, skip a bunch of steps, not put the frame with options in front of the image, and simplify downloading to 'click or touch image to download'.

If you don't care about the social parts like gallery functionality and want to cut steps from your image generating, this plugin may be for you.

have a wonderful day all :)

4
submitted 9 months ago* (last edited 9 months ago) by Alllo to c/perchance
 

https://perchance.org/allovariaexample

editable text that saves to browser per every edit. has library button with easy saving and loading to and from the textarea. and is created linked to a variable which is basically one and the same with what is in the textarea.

I found I had repeatedly done this design in my old image generator to manipulate various parts of the prompt. So now this is in shareable plugin form so I can start design of my next generation of image generator.

In the original which doesn't need to import this, the variables can be initiated in perchancescript normally. for total mystery reason generators that import this plugin cannot initiate the variable governed by the textarea in perchancescript ~yet the textarea itself seems to initiate them so it's ok and perchance stuff referencing the variable works somehow. no idea. is magic.

try the example generator

is powerful

7
[list] artistslist (lemmy.world)
submitted 10 months ago by Alllo to c/perchance
 

{import:artistslist} https://perchance.org/artistslist

3
submitted 10 months ago* (last edited 10 months ago) by Alllo to c/perchance
 

allows alot of new things. dithering, contrast, saturation, even imbuing the image with more of a certain color. This takes either the result of the image completion from the text-to-image plugin or a canvas.

example page: https://perchance.org/alloimgexample

various things to improve such as allowing multiple tasks flawlessly, and figuring out why the canvas being in the iframe prevents it from changing. future updates will come :)

example is of plugin here: https://perchance.org/alloimg

my learnings from this for pluginmakers: i decided to make my own stuff that needs to run as coherent constant code in to a subobject of window. I will update my other plugins that add something to window to check if they have started yet to a safe place within my base object. Basically none of my own plugins will sprawl globally and will all be accessible under window.allo. Also I figured out to load an external script thru the return of the html text at the bottom of the output, which may be handy.

7
[plugin] allostars (lemmy.world)
submitted 10 months ago by Alllo to c/perchance
3
submitted 10 months ago by Alllo to c/perchance
 

https://perchance.org/downloadtext

I shant endlessly post plugins here. Maybe if I continue I will share what I've added in batches every once in a while. Fun tho. Here's one basically copied from stackoverflow to download text straight to computer. call update on it and it downloads straight to computer without even a popup nor asking anything, lol. Must be uses for it. have fun :)

3
submitted 10 months ago by Alllo to c/perchance
 

https://perchance.org/updateevery

looking in to how plugins work, i took a little javscript, put it in da perchances, and poof ~plugin created. this does the 'setIntervalling' to allow easy peasy updating every X milliseconds, either all elements or targeted id.

i tried to use arguments[0] to access arguments sent to the plugin and for some reason it didn't work. Usually it would in javascript but maybe some weird perchancian interaction.

also started hub for my stuff in style of perchancians. may maek page look nicer

 

trying this: https://perchance.org/preprocessors

so i didn't get it to work and eventually did the simplest form but gives error.

i started with altering my name just to mess with stuff


$output(text) =>
  text.replaceAll("Allo","~allo~");
  return text;

(all the examples have the ; so maybe it needs em)

is all the preprocessor is.
and the importerizor is just:
$preprocess = {import:allopreprocess}

yet terrible error: TypeError: Cannot read properties of undefined (reading 'getSelf') at Object.get

i pretty much copypasted stuff and changed a few variables so i is the confuze as to how wrong

view more: ‹ prev next ›