How do i fix this? Im trying a simple generator
Ah no worries, It seems to be how the perchance ai interprets the input.
The error is linked with a (shift+enter) option to add separate line like if you wanted text and then a code snippet to differentiate the two in the case it accidentally read them as all one raw string, thats why i was asking about the $root.. i didnt add anything for a specific command or keyword so the Perchance ai api interprets the input.
The markdown still wont apply as any parenthesis like [ or ] or { or } are used already as part of perchances own baked custom api.
Thorium kinda same as Chromium just mostly for testing out sandbox projects as opera gx had a force dark mode that inverts some pages and lose the text and swap browsers.
If you click the "edit" in the top right you can see the perchance source and the container layout. Left only has two imports and the rest is basic html so if you want just copy and edit away or add an import for a local ai or ollama or Gemini api..
Another site like perchance for ai prompting is Websim. Here's another project i made pure html and no imports just to test frames per second in different browsers https://perchance.org/matrix-fps-test
in The code is the log that you can use for a quick prompt of a wireframe layout, then copy the html to notepad or gedit and save as html and edit as you need.
<!-- dev log basics + dark red and black theme + ai character chat interface + a loading indicator for the ai response + split the window vertically + chat on the left + code and file importing on the right + minimal interface Code Editor and Tools section a tab system dual pane "Editor" and "Preview" for the code editing and previewing a menubar with "Import" "Export" "Scan Code" scanning and editing and exporting on the right hand side functions such as the importing and exporting and scanning code and files Instruction prompt : You, the AI are very knowledgeable in all of perchance.org code and tutorials and design and latest updates to aid and help the user generate code for new generators or for the ai character chat. Template Notice: This is a base wireframe for a Perchance helper UI. Meant for sandbox use and modular expansion β minimal scripts/styles by design. Add your own enhancements directly or modularize for larger builds. imports used are generateText = {import:ai-text-plugin} - so the ai can talk generatorStats = {import:generator-stats-plugin} - for stats !! NOTE !! Chat interface is non-functional in offline mode unless generateText plugin is hooked in or you embed an offline ai maybe add loop for local --> `
Thanks for the feedback, Danno β really appreciate the detail.
Just a couple of quick ones from my end:
Using different browsers? I'm not sure what you meant but if you just use a default browser like *Thorium *or Brave without any plugins or extensions and use that for a sandbox could be a bit easier than swapping thru multiple ones as i wrote in notepad and uploaded it and then used their ai-text-plugin
to populate the responses.
You mentioned $root. ..were you thinking in Linux terms? In Perchance context, thatβs not a typical variable. The *$root *you mentioned isnβt part of standard Perchance syntax, so the assistant likely didnβt know what to do with that.
Markdown rendering is still basic here, true. Did you try using backticks like code
or triple blocks for full snippets?
I wrote the code as small as possible so Its intentionally minimal for now.
The AI will format code if you ask it clearly *(e.g. βCan you explain how to use [[list]] with .capitalize?β), *but Iβm still working on adding persistent parsing for code snippets.
I might improve that parser later with something else because its using the Perchance built in ai helper and as you see from the editing windows the left window "Lists" is a mix of javascript and custom api so it all depends on how Perchance ai is understanding you.
Did you get a chance to read the description or peek at the source? Itβs intentionally a βbarebonesβ helper β meant to be editable, designed for users to modify.
Itβs a skeleton helper, not a full deployment not production-ready just meant as a wireframe template with minimal code.
*Still, cheers for the tests, your notes are helpful , itβs honestly useful knowing what people run into. thanks again for testing it out * π
If you mean in the ai chat you can add oc.window.show()
in the javascript code further down and it opens a side iframe that you could use.
check this url [https://rentry.org/82hwif] and might have some help.
Wait do you mean to generate an image of a picture to regenerate or like drawing an interface or UI?
In the Image Character Generator if you type a name in the top description area and skip a line like
"Bob." or Elizabeth or "Liz"
then hit generate persona. When the Name or descriptions are on its own it sometimes makes the ai focus on it more or type a name.
If you put in the image description something like European or French or such it gives different variations than "LUNA" .
In the main Ai Chat i use. {{char}} = Tod | Tod = {{char}}
to make a direct link in the of the {{char}}
keyword in the description.
if you want to clone the character as a template all you need to change is the {{char}} = disGuy | disGuy = {{char}}
part and then prompt a new ai help to create a simple interface with maybe 4 panels and a "generate names" button and let it populate the 4 containers with names.
Ah try maybe setting like a min and a max of the chances like this maybe Hope it helps a little
Edit as you want, sorry its a bit scuffy