this post was submitted on 04 Jun 2024
2 points (75.0% liked)

Casual Perchance

87 readers
1 users here now

Casual Perchance

A nonspecific casual place for anything Perchance, including generator outputs, memes, prompts, casual discussion, advertising your generator, and anything else you wouldn't post in the more technical Perchance Forum.

This is where to post Community Events.

Resources:


Rules:

founded 8 months ago
MODERATORS
2
submitted 5 months ago* (last edited 5 months ago) by VioneT to c/casual_perchance
 

Importables

Do you have ideas for lists, plugins, or templates that can be used by others? Now is the time to create it! 'Importables' Generator Jam!

Useful Generators, Plugins, HTML Widgets, CSS Styles. Generators that can be imported to other generators!

When: June 10, 2024 12:00PM UTC to June 28, 2024 12:00PM UTC

Thank you NecoBridge for the theme suggestion!

Perchance Data

// This Part is Required for the Perchance Hub
// This would be where the Event Organizer would change the data to update the Hub
// Remember to indent with two spaces!

// List About the Event to be displayed on the Hub
metadata
  title = Importables
  description = Do you have ideas for lists, plugins, or templates that can be used by others? Now is the time to create it! 'Importables' Generator Jam!
  type = Generator Jam
  image
    https://lemmy.world/pictrs/image/e5a38895-65b6-468e-80f7-e2a1fa609c30.png
    // Can be multiple pictures to randomize the banner image :)
  start = 10 June 2024 12:00:00 UTC+0000 // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings
  end = 28 June 2024 12:00:00 UTC+0000
  color = linear-gradient(231deg, hsl(127 0% 61%), hsl(201 17% 31%))
  rules = Create Generators that can be imported! Plugins, Lists, HTML Templater, CSS Styles

// For Generator Jams with Perchance URL
generators
  // The generator's $metadata is also parsed
  simple-toc-plugin
    author = Vionet20
    type = plugin
  rainbow-plugin2
    author = thatOnePerchanceGuy
    type = plugin
  no-reason-js
    author = thatOnePerchanceGuy
    type = plugin

  power-rain-plugin
    author = Bluepower
    type = plugin
  perchance-author
    author = Eatham
    type = plugin

// For Image Events
images		
	

// You can request a format of other events just ask on the forum!

top 11 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 4 points 5 months ago* (last edited 5 months ago)

https://perchance.org/power-rain-plugin

Just made a decorative plugin that adds a rainy effect into your generator. You can also make snowy effects with this, and also any kind of rain effects as well. ๐ŸŒง๏ธ

[โ€“] VioneT 3 points 5 months ago

A fairly simple nested and collapsible Table of Contents plugin: https://perchance.org/simple-toc-plugin

It is created with <details> element so it can be collapsible. It also has the option to scroll into view the clicked section (although there isn't a scroll to top). Another option is to pass through a url parameter (section) or through a hash.

[โ€“] [email protected] 3 points 5 months ago* (last edited 5 months ago) (1 children)

This feels like a broader theme than more specific ones like the last summer-themed jam. I'd definitely make one of my upcoming plugins this month that could be submitted to this jam - or a generator or something else that could be importable, like the Synthetic Sentence Generator I made last month.

Also, didn't expect for the color theme of the Hub to not change for the new Jam, and also three generator events shown at once ๐Ÿ™ƒ

[โ€“] VioneT 4 points 5 months ago (1 children)

I've coded the banners to only hide 7 days after the event so people can still check it out even if the event has ended. I've also just changed the gradient to the new one!

[โ€“] [email protected] 4 points 5 months ago (1 children)

Thanks! I'd also suggest the Go to Event and Go to Post buttons to be a bit larger, so it'll be easier and more noticeable for people to find and click on it.

[โ€“] VioneT 4 points 5 months ago

Should be a little bit bigger now. Thanks for the feedback!

[โ€“] thatOnePerchanceGuy 3 points 5 months ago (3 children)

Plugin that makes a "rainbow" html tag*

A custom JS ""library"" called noReason.js

Have fun with these i guess. If one of these doesn't get in, i don't know what will. *note: Name has number 2 because the original name got name-squatted. SCREW YOU GUYS.

[โ€“] VioneT 4 points 5 months ago

I think rainbow-tag-plugin could be a good URL :) since you are using a 'custom' tag to be the element. Also, you could have the plugin to be something like adding {import:...} on the HTML instead of [pluginName()] if you are only 'adding' a stylesheet like so: https://perchance.org/importable-stylesheet-template

[โ€“] [email protected] 2 points 5 months ago* (last edited 5 months ago)

The JS library is a very nice importable out there. I'd somehow eventually import this into my generator if I ever need it. It even contains some actually useful functions like celToFah and fahToCel, degToRad, and radToDeg.

Also regarding to the name-squatting, I think it's already on the backend behalf of the Perchance engine. I'll ping the dev for this issue. @[email protected]

[โ€“] [email protected] 2 points 5 months ago

I added all the temperature units to noReason.js: manyReasons.js

[โ€“] [email protected] 2 points 5 months ago

I made https://perchance.org/perchance-author which is a import for perchance creators gen hub links.