Rename remaining festival identifiers to summit
- Entity id 'festivals' -> 'summit' (data.ts) + lookups in gallery.ts and MyceliumNetwork.vue - Mycelium flower kind 'festival' -> 'summit', summitCaps, .myc-summit class and comments Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
3776ee1c49
commit
55c2a1a4cf
3 changed files with 15 additions and 15 deletions
|
|
@ -73,21 +73,21 @@ function thread([a, b]: [number, number], i: number) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const sol = entityById('sollunar') // city
|
const sol = entityById('sollunar') // city
|
||||||
const fest = entityById('festivals') // travelling
|
const fest = entityById('summit') // travelling
|
||||||
const cha = entityById('chateau') // farm
|
const cha = entityById('chateau') // farm
|
||||||
|
|
||||||
// surface flowers: the three experiences + two faint "future" ones.
|
// surface flowers: the three experiences + two faint "future" ones.
|
||||||
// (Lab 484 is the mycelium itself — the network below, not a flower.)
|
// (Lab 484 is the mycelium itself — the network below, not a flower.)
|
||||||
const flowers = [
|
const flowers = [
|
||||||
{ x: 230, kind: 'bloom', color: 'var(--color-indigo)', name: sol.name, tag: sol.role },
|
{ x: 230, kind: 'bloom', color: 'var(--color-indigo)', name: sol.name, tag: sol.role },
|
||||||
{ x: 500, kind: 'festival', color: 'var(--color-rose)', name: fest.name, tag: fest.role },
|
{ x: 500, kind: 'summit', color: 'var(--color-rose)', name: fest.name, tag: fest.role },
|
||||||
{ x: 770, kind: 'bloom', color: 'var(--color-clay)', name: cha.name, tag: cha.role },
|
{ x: 770, kind: 'bloom', color: 'var(--color-clay)', name: cha.name, tag: cha.role },
|
||||||
{ x: 100, kind: 'ghost' },
|
{ x: 100, kind: 'ghost' },
|
||||||
{ x: 900, kind: 'ghost' },
|
{ x: 900, kind: 'ghost' },
|
||||||
] as const
|
] as const
|
||||||
|
|
||||||
// small pop-up caps for the ephemeral festival flower
|
// small pop-up caps for the ephemeral summit flower
|
||||||
const festivalCaps = [
|
const summitCaps = [
|
||||||
{ dx: -18, dy: -58, r: 15 },
|
{ dx: -18, dy: -58, r: 15 },
|
||||||
{ dx: 0, dy: -74, r: 20 },
|
{ dx: 0, dy: -74, r: 20 },
|
||||||
{ dx: 20, dy: -60, r: 14 },
|
{ dx: 20, dy: -60, r: 14 },
|
||||||
|
|
@ -196,8 +196,8 @@ const festivalCaps = [
|
||||||
<circle :cx="f.x + 12" :cy="GROUND - 92" r="2.4" fill="hsl(0 0% 100% / 0.45)" />
|
<circle :cx="f.x + 12" :cy="GROUND - 92" r="2.4" fill="hsl(0 0% 100% / 0.45)" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- ephemeral festival cluster (SolLunar) -->
|
<!-- ephemeral summit cluster (SolLunar) -->
|
||||||
<template v-else-if="f.kind === 'festival'">
|
<template v-else-if="f.kind === 'summit'">
|
||||||
<path
|
<path
|
||||||
:d="`M ${f.x} ${GROUND} C ${f.x - 6} ${GROUND - 20}, ${f.x + 6} ${GROUND - 34}, ${f.x} ${GROUND - 46}`"
|
:d="`M ${f.x} ${GROUND} C ${f.x - 6} ${GROUND - 20}, ${f.x + 6} ${GROUND - 34}, ${f.x} ${GROUND - 46}`"
|
||||||
fill="none"
|
fill="none"
|
||||||
|
|
@ -207,8 +207,8 @@ const festivalCaps = [
|
||||||
stroke-linecap="round"
|
stroke-linecap="round"
|
||||||
stroke-dasharray="3 5"
|
stroke-dasharray="3 5"
|
||||||
/>
|
/>
|
||||||
<g class="myc-festival" :style="{ animationDelay: `${i * 0.3}s` }">
|
<g class="myc-summit" :style="{ animationDelay: `${i * 0.3}s` }">
|
||||||
<template v-for="(c, ci) in festivalCaps" :key="ci">
|
<template v-for="(c, ci) in summitCaps" :key="ci">
|
||||||
<path
|
<path
|
||||||
:d="`M ${f.x + c.dx - c.r} ${GROUND + c.dy} Q ${f.x + c.dx} ${GROUND + c.dy - c.r * 1.1} ${f.x + c.dx + c.r} ${GROUND + c.dy} Q ${f.x + c.dx} ${GROUND + c.dy - c.r * 0.28} ${f.x + c.dx - c.r} ${GROUND + c.dy} Z`"
|
:d="`M ${f.x + c.dx - c.r} ${GROUND + c.dy} Q ${f.x + c.dx} ${GROUND + c.dy - c.r * 1.1} ${f.x + c.dx + c.r} ${GROUND + c.dy} Q ${f.x + c.dx} ${GROUND + c.dy - c.r * 0.28} ${f.x + c.dx - c.r} ${GROUND + c.dy} Z`"
|
||||||
:fill="f.color"
|
:fill="f.color"
|
||||||
|
|
@ -255,7 +255,7 @@ const festivalCaps = [
|
||||||
<template v-if="f.kind !== 'ghost'">
|
<template v-if="f.kind !== 'ghost'">
|
||||||
<text
|
<text
|
||||||
:x="f.x"
|
:x="f.x"
|
||||||
:y="f.kind === 'festival' ? GROUND - 122 : GROUND - 132"
|
:y="f.kind === 'summit' ? GROUND - 122 : GROUND - 132"
|
||||||
text-anchor="middle"
|
text-anchor="middle"
|
||||||
class="myc-label-name"
|
class="myc-label-name"
|
||||||
:fill="f.color"
|
:fill="f.color"
|
||||||
|
|
@ -264,7 +264,7 @@ const festivalCaps = [
|
||||||
</text>
|
</text>
|
||||||
<text
|
<text
|
||||||
:x="f.x"
|
:x="f.x"
|
||||||
:y="f.kind === 'festival' ? GROUND - 142 : GROUND - 152"
|
:y="f.kind === 'summit' ? GROUND - 142 : GROUND - 152"
|
||||||
text-anchor="middle"
|
text-anchor="middle"
|
||||||
class="myc-label-tag"
|
class="myc-label-tag"
|
||||||
>
|
>
|
||||||
|
|
@ -363,8 +363,8 @@ const festivalCaps = [
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* festival cluster gently floats + fades — it's ephemeral */
|
/* summit cluster gently floats + fades — it's ephemeral */
|
||||||
.myc-festival {
|
.myc-summit {
|
||||||
transform-box: fill-box;
|
transform-box: fill-box;
|
||||||
transform-origin: bottom center;
|
transform-origin: bottom center;
|
||||||
animation: myc-float 4.5s ease-in-out infinite;
|
animation: myc-float 4.5s ease-in-out infinite;
|
||||||
|
|
@ -400,7 +400,7 @@ const festivalCaps = [
|
||||||
.myc-pulse,
|
.myc-pulse,
|
||||||
.myc-node,
|
.myc-node,
|
||||||
.myc-cap,
|
.myc-cap,
|
||||||
.myc-festival,
|
.myc-summit,
|
||||||
.myc-plus {
|
.myc-plus {
|
||||||
animation: none;
|
animation: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ export const entities: Entity[] = [
|
||||||
icon: 'Building2',
|
icon: 'Building2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'festivals',
|
id: 'summit',
|
||||||
name: 'Pop-up Summit Gatherings',
|
name: 'Pop-up Summit Gatherings',
|
||||||
role: 'Travelling gatherings',
|
role: 'Travelling gatherings',
|
||||||
kind: 'Travelling · ephemeral',
|
kind: 'Travelling · ephemeral',
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ export const gallerySections: GallerySection[] = [
|
||||||
{
|
{
|
||||||
id: 'summit',
|
id: 'summit',
|
||||||
label: 'Summit Gathering',
|
label: 'Summit Gathering',
|
||||||
entityName: entityById('festivals').name,
|
entityName: entityById('summit').name,
|
||||||
accent: 'rose',
|
accent: 'rose',
|
||||||
folder: 'src/deck/gallery/summit/',
|
folder: 'src/deck/gallery/summit/',
|
||||||
images: toImages(summit),
|
images: toImages(summit),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue