VioneT

joined 1 year ago
MODERATOR OF
[–] VioneT 2 points 2 months ago

AI Celebrations Quiz

https://perchance.org/ai-celebrations-quiz

An AI Powered Multiple Choice Question about Celebrations in the world.

[–] VioneT 2 points 2 months ago* (last edited 2 months ago) (5 children)

Can you send me the character link again. I would assume that you do not have [input.description] on the prompt or [input.negative] on negative on the pasted style like so:

  ...
  "Professional Photo": {
    // When adding a new prompt, you need to add [input.description] to help the code know what would be the prefix and suffix of the prompt. [input.negative] is not as required.
    prompt:
      "[input.description], {sharp|soft} focus, depth of field, 8k photo, HDR, professional lighting, taken with Canon EOS R5, 75mm lens",
    negative:
      "[input.negative], worst quality, bad lighting, cropped, blurry, low-quality, deformed, text, poorly drawn, bad art, bad angle, boring, low-resolution, worst quality, bad composition, terrible lighting, bad anatomy",
  },
  ...

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

I think frequency of access, and maybe a habit of turning to the resources page to look for the plugins/templates.

I think that the resources page is an 'all-in-one' page for a lot of things related to Perchance that isn't on the 'tutorial'. I'll ping @[email protected] for other opinions.

While we're at it, maybe also create a 'notice/terms and conditions' regarding the use of AI on the platform. A lot of people are also asking for this, although I just redirect them to the AI FAQ that I compiled and directly on the plugin pages. Maybe an official one so it is compiled and in one place.

Also, maybe a very long shot, and may be breaking for the user/account data (or maybe just tie it to local storage). An option to customize the navbar through account settings? Like we only want the 'generators', and 'hub' to button to show on the navigation as well as hiding the 'ai helper' permanently on the HTML panel than just minimizing it.

[–] VioneT 2 points 2 months ago (7 children)

Not sure, I don't really dabble on the NSFW content, so I won't know lmao.

[–] VioneT 1 points 2 months ago* (last edited 2 months ago)

Upon downloading the Cromite, I was able to fix the WebAssembly issue by enabling something called V8 (you could also just search "WebAssembly" on the search bar and it should highlight the setting):

Also some video proof. You could also probably just add Perchance to the list of sites that allows V8 instead of enabling it globally.

[–] VioneT 2 points 2 months ago (10 children)

No problem! It was actually an oversight on my part lmaooo

[–] VioneT 2 points 2 months ago (12 children)

Here is an updated code in the AI Artist.

It seems that there was a problem in setting the properties in the character itself, in which those properties are already existing in the AI Artist character.

But since you've transferred the code to another character, those properties are undefined and cannot be accessed so it cannot change it. I've managed to fix it by just setting default values.

[–] VioneT 2 points 2 months ago* (last edited 2 months ago) (15 children)

You can share the character link like this:

This won't share any threads, just the character.

[–] VioneT 4 points 2 months ago* (last edited 2 months ago)

Actually, please do use valid date formats, since the code is having a hard time parsing it. @[email protected] @[email protected]

[–] VioneT 1 points 2 months ago (20 children)

I'm not really sure, have you added a new style to it, maybe some syntax errors that doesn't allow the custom code to run? Can you link a 'share link' of the character?

I've added a fix here to not say 'AI Artist (style)' but 'Character Name (style)' and the styles should be added after clicking the button on the /change-style, although you still need to edit/create a new image to apply the style.

Here is a video on applying the styles.

[–] VioneT 1 points 2 months ago (23 children)

You need to create a new image or edit the current one to apply the style.

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

Lemmy.world is separate from Perchance, and isn't affiliated with Perchance. It is a Federated Forum Platform, see this post for more Information about Lemmy.world.

Perchance.org on the other hand is a platform for sharing and creating random text generators. Logging in to Perchance would allow you to save/create generators. The AI tools is just an addition to the page.

You can use different login details on both pages.

 

There seems to be a bug with creating a consumable list, then using .evaluateItem from it doesn't consume the item.

Demo:

items
  a
  b
  c
  
output
  $output = [this.getRawListText.split('\n').slice(2).join('\n')]
  A: [x = items.consumableList, ''] [x.evaluateItem] [x.evaluateItem] [x.evaluateItem] [x.evaluateItem]<br>
  B: [x = items.consumableList, ''] [x] [x] [x] [x]<br>
  C: [x = items.consumableList, ''] [x.selectOne] [x.selectOne] [x.selectOne] [x.selectOne]
  • A doesn't work
  • B and C Works

I think it is because .evaluateItem essentially converts the consumable list to text, which will not consume it, although it should do a .selectOne (a reference post) behind the scenes which should consume from the list, but it is not working.

3
submitted 1 year ago* (last edited 1 year ago) by VioneT to c/perchance
 

Recently, a couple of people started losing images in their private galleries from the text-to-image-plugin.

Here are some posts about it:

  • Reddit Post about Gallery being Purged
  • Tsuyoi KaiZoKu mentioned from Discord that some of their images in a private gallery disappeared after saving it into the gallery after a certain amount of time (I wasn't able to replicate it and they mentioned it might be depending on the number of images on the gallery).

Please comment below any information/problems you also encountered with the same issue.

Some helpful information you can provide:

  • Generation date of the image saved into the gallery that has disappeared.
  • When the purge/disappearance of images happened
  • Generator that you have your gallery on
  • Any test you tried to replicate the problem

Thanks!

@[email protected]

2
submitted 1 year ago* (last edited 1 year ago) by VioneT to c/perchance
 

JadeRavens made a post on Reddit about the remember-plugin not being able to 'remember' the radio buttons.

So, I made a modification of the remember-plugin that handles the radio button groups. Here is the demo generator for it.

Essentially, it takes the 'group' of the buttons (by using .querySelectorAll to select all inputs that have the same name of the radio button) then saving the state of each radio button.

Which means that in the group, only one is checked and the others are not checked.

Though I am having problems with the saving of the value of a variable since after the second reload of the page, it will point to the last value.

The steps to see the problem (if there is an update() in the oninput of the radio button) is:

  1. Click a radio button.
  2. Reload the page, the variable will point to the last value in the group.

If there is no update() on the oninput, it will take two reloads of the page to point to the last value in the group.

EDIT: Seems to have fixed it by removing the triggerEvent upon loading the state/value of the inputs. Though, I'm sure there is a good reason why the 'triggerEvent' are there.

2
submitted 1 year ago* (last edited 1 year ago) by VioneT to c/perchance
 

This is reported by @ASL4U at this Lemmy Comment (I would assume they are the same person on the General Chat @ the Hub), that there are some users having the Dark Theme applying to the Preview Panel in Light Mode.

I tested it on Chrome v.118, on Windows 10 with Device Theme 'Light', I would have brief flash of the Dark Theme on the Preview but resolves itself.

However, there are some instances where the Dark Theme would remain like the attached image. The reporter tested it on Linux Mint 21.2 using Chrome (most up to date).

If you experience the same thing, even after changing the appropriate Device and Browser Themes (if applicable), please comment below your:

System: (Windows, Mac, Linux etc. + version e.g. Windows 10)
Browser: (Edge, Chrome, etc. + version e.g. Chrome v.118)
Device Theme: (Dark/Light)
Browser Theme (if applicable): (Dark/Light)

 

Recently made these animations of how the Perchance Engine transforms the Perchance Syntax to Randomly Generated Texts.

These are made with using Motion Canvas. It is an open-source animation library that allows its users to 'code' their video. Feel free to check out the website to learn more about it.

These might be useful for visualizing how Perchance works.

 

This bug is reported by Magic Breeze on Discord. The a-an-plugin seems to hang/crash the page on Firefox. Seems to only happen with conjunction to tap-plugin, which is in the tap-plugin-example-a-an generator when the 'tappable' part of the generator is tapped.

Picture of Crash

Tested on

  • Firefox 118.0.2 on Windows 10
  • Firefox 118.1.1 on Android 12
 

Recently modified the 'conversion' on the Abulafia tables to include the odds and format the lists into a Perchance list.

Here is a demo of it:

Previous Version:

Would like feedback from Abulafia 'archivers' out there on what features would you like for it. (Just been testing some pages using Wayback Machine since the website now is not working).

1
submitted 1 year ago* (last edited 1 year ago) by VioneT to c/perchance
 

This bug is reported by BittyBobcat on Discord. (Original Testing Generator)

It seems like using .selectOne on the JS list only selects the Even Indices i.e. 0, 2, 4, etc.

Here is the generator that displays this bug.

 

I've come across a potential bug or unexpected behavior of .consumableList.

For example, we have the following lists:

animal
  pig
  cow
  chicken
  zebra
  crayfish
  jellyfish
  worm

output
  [x = animal.selectMany(5).consumableList, x.joinItems(", ")]

For example, x is a consumable list with 5 items like so: cow, cow, pig, chicken, zebra. The output will then output cow, cow, pig, chicken, zebra.

Then, to select the items from the consumable list, we can use x.selectOne. Outputting it:

output2
  [x.selectOne] [x.selectOne] [x.selectOne] [x.selectOne] [x.selectOne]

The expected output should be any combinations of 'cow, cow, pig, chicken, and zebra' e.g. cow pig cow zebra chicken.

However, it throws an error Looks like your consumableList ran out of items. This is the list in question: cow, cow, pig, chicken, zebra, and outputs an undefined.

I believe it is because consumable list takes 'unique' items. In which, the items in the list have only '4' unique items (cow, chicken, pig, zebra), but it has 5 items (cow, cow, chicken, pig, zebra).

I think the correct behavior of a 'consumable list' is to be able to deduct an item from a list and prevent it from being selected again (consuming it), instead of creating a 'unique list'.

Here is an example generator with the said problem.

 

Here are a couple of plugins that I recently made:

Couple of Experiments

  • Growing Probability - An example of a growing probability using Dynamic odds in which the probability of items increases with set growth rate on each generation and will reset if selected.
  • Perchance Syntax Helper - Uses the new ai-text-plugin that generates Perchance Syntax based on the given instruction (although sometimes incorrectly).
3
submitted 1 year ago* (last edited 1 year ago) by VioneT to c/perchance
 

Recently, when I save my ai-generated-realistic-portraits, it suddenly privates itself without me setting it to private. Other users seem to experience this as well.

7
submitted 1 year ago* (last edited 1 year ago) by VioneT to c/perchance
 

Recently made this guide for the Perchance Hub Learn articles to document the experiments that I did for making prompts with the text-to-image-plugin.

It discusses the options/terms in the plugin as well as how to effectively use them.

There are also some tricks from making prompts with the syntax from AUTOMATIC1111 which works in the model in Perchance (tag emphasis).

Each topic also has a generator for you to play around with. It looks like this:

Here is the generator...

Feel free to give feedback and if you have other suggestions or tricks that you found with the plugin, please let me know and I'll add them to the guide!

P.S. Also need feedback on the Table of Contents as I might add them to the articles on the Perchance Hub Learn articles!

view more: ‹ prev next ›