Components/Duos/Morel & Ribb

Morel & Ribb

A mushroom wizard practising spells on a frog who did not volunteer. One tag brings both of them.

Morel & Ribb
<!-- once, anywhere on the page -->
<script src="https://cdn.jsdelivr.net/npm/piixpal@0.4/piixpal.min.js"></script>

<h2>
  …
  <piix-pal pal="morel"></piix-pal>
</h2>
Options
at
where Morel stands, 0–1
poke Morel
casts now
poke Ribb
complains

How it plays

  1. Morel waves his staff and a sparkle arcs across.
  2. Ribb turns tiny, giant, upside-down, ghostly, spinning or pink.
  3. Ribb is furious.
  4. It wears off. Morel tries again.

It loops with a little randomness, never blocks a click, and stands still for people who prefer less motion. Put the tag inside the element they should live on, or point at one with on="selector".