Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

Signal grey duotone; sharp poster thumbs; Orbital moon rides the ring

nyblnet44774af2a26b
diff --git a/scripts/build-example-decks.mjs b/scripts/build-example-decks.mjs
index 92cfc6d7..d0e7a05d 100644
--- a/scripts/build-example-decks.mjs
+++ b/scripts/build-example-decks.mjs
@@ -84,12 +84,14 @@ const slide = (o) => ({
const grad = (angle, ...stops) => ({
angle, stops: stops.map(([at, color]) => ({ at, color })),
})
-// orbit path relative to rest position (closed loop through rest)
-const orbit = (r, phase = 0) => {
+// orbit path relative to rest position (closed loop through rest).
+// phase = where on the circle the rest position sits (0 = right, -PI/2 = top);
+// squash < 1 flattens vertically for a floaty wobble, 1 = true circle.
+const orbit = (r, phase = 0, squash = 0.6) => {
const pts = []
- for (let i = 0; i <= 8; i++) {
- const a = phase + (i / 8) * Math.PI * 2
- pts.push(`${Math.cos(a) * r - Math.cos(phase) * r},${Math.sin(a) * r * 0.6 - Math.sin(phase) * r * 0.6}`)
+ for (let i = 0; i <= 24; i++) {
+ const a = phase + (i / 24) * Math.PI * 2
+ pts.push(`${(Math.cos(a) - Math.cos(phase)) * r},${(Math.sin(a) - Math.sin(phase)) * r * squash}`)
}
return `M0,0 L${pts.slice(1).join(' L')} Z`
}
@@ -117,11 +119,10 @@ function deckSignal() {
const s1 = slide({
id: 'sig-cover', background: INK, transition: 'none',
- notes: 'TEMPLATE — “Signal”, an editorial-typographic deck. The cover is the poster: a full-bleed public-domain photograph pushed through a RED DUOTONE (ink scrim + red wash — two rects, no filters) with the masthead type reversed to bone. Slide 2 cuts back to paper. The red bar and the title share ids with slide 2 — they MORPH.',
+ notes: 'TEMPLATE — “Signal”, an editorial-typographic deck. The cover is the poster: a full-bleed public-domain photograph under a deep ink scrim (one rect, no filters) with the masthead type reversed to bone. Slide 2 cuts back to paper. The red bar and the title share ids with slide 2 — they MORPH.',
elements: [
img({ asset: 'ph-press', x: 0, y: 0, w: 1280, h: 720, fx: { ambient: 'kenburns', ken: { dir: 'drift', scale: 1.07, duration: 24 } } }),
- shape('rect', { x: 0, y: 0, w: 1280, h: 720, fill: 'rgba(20,19,16,0.42)' }),
- shape('rect', { x: 0, y: 0, w: 1280, h: 720, fill: 'rgba(226,52,30,0.48)' }),
+ shape('rect', { x: 0, y: 0, w: 1280, h: 720, fill: 'rgba(20,19,16,0.62)' }),
kick(96, 84, 'SIGNAL — A FESTIVAL OF GRAPHIC IDEAS', BONE),
shape('rect', { x: 96, y: 118, w: 1088, h: 2, fill: 'rgba(239,237,228,0.7)' }),
text({ id: 'sig-title', x: 86, y: 128, w: 1120, h: 330, html: 'Loud<br>letters.', fontSize: 168, fontFamily: FR, fontWeight: 900, color: BONE, lineHeight: 0.92, shadow: { y: 3, blur: 26, color: 'rgba(20,19,16,0.4)' } }),
@@ -372,8 +373,8 @@ function deckOrbital() {
shape('rect', { x: 0, y: 0, w: 1280, h: 720, fill: 'rgba(5,6,14,0.45)', fillGradient: grad(180, [0, 'rgba(5,6,14,0.6)'], [0.55, 'rgba(5,6,14,0.25)'], [1, 'rgba(5,6,14,0.7)']) }),
star(180, 140, 6, 17, 0), star(1050, 120, 4, 21, 2), star(940, 560, 8, 19, 4),
star(220, 540, 5, 23, 1), star(640, 90, 4, 25, 3), star(1160, 400, 6, 15, 5),
- shape('ellipse', { id: 'orb-ring', x: 440, y: 120, w: 400, h: 400, fill: 'rgba(0,0,0,0)', stroke: CYAN, strokeWidth: 2, shadow: glow('rgba(56,225,255,0.45)', 60), fx: { ambient: 'kenburns', ken: { dir: 'drift', scale: 1.05, duration: 12 } } }),
- shape('ellipse', { x: 610, y: 90, w: 60, h: 60, fill: CYAN, fillGradient: GRAD_CY, shadow: glow('rgba(56,225,255,0.8)', 30), fx: { loop: { type: 'motion-path', path: orbit(200, 0), duration: 14 } } }),
+ shape('ellipse', { id: 'orb-ring', x: 440, y: 120, w: 400, h: 400, fill: 'rgba(0,0,0,0)', stroke: CYAN, strokeWidth: 2, shadow: glow('rgba(56,225,255,0.45)', 60) }),
+ shape('ellipse', { x: 610, y: 90, w: 60, h: 60, fill: CYAN, fillGradient: GRAD_CY, shadow: glow('rgba(56,225,255,0.8)', 30), fx: { loop: { type: 'motion-path', path: orbit(200, -Math.PI / 2, 1), duration: 14 } } }),
text({ id: 'orb-word', x: 140, y: 260, w: 1000, h: 130, html: 'ORBITAL', fontSize: 110, fontWeight: 800, color: '#EAF4FF', align: 'center', letterSpacing: 30, fontFamily: IN, shadow: glow('rgba(56,225,255,0.35)', 40) }),
text({ x: 140, y: 400, w: 1000, h: 24, html: 'LOW-ORBIT DATA · A FICTIONAL COMPANY FOR A REAL TEMPLATE', fontSize: 12, fontWeight: 500, letterSpacing: 3, color: DIM, align: 'center', fontFamily: MONO }),
text({ x: 140, y: 616, w: 1000, h: 24, html: '— PRESS → TO ENTER THE SYSTEM —', fontSize: 11, fontWeight: 500, letterSpacing: 3, color: 'rgba(178,196,224,0.4)', align: 'center', fontFamily: MONO }),
@@ -469,7 +470,7 @@ function deckOrbital() {
img({ asset: 'ph-nebula', x: 0, y: 0, w: 1280, h: 720, opacity: 0.5, fx: { ambient: 'kenburns', ken: { dir: 'drift', scale: 1.12, duration: 30 } } }),
shape('rect', { x: 0, y: 0, w: 1280, h: 720, fill: 'rgba(5,6,14,0.72)' }),
shape('ellipse', { id: 'orb-ring', x: 340, y: 60, w: 600, h: 600, fill: 'rgba(0,0,0,0)', stroke: MAG, strokeWidth: 2, shadow: glow('rgba(255,79,163,0.4)', 80) }),
- shape('ellipse', { x: 620, y: 40, w: 44, h: 44, fill: MAG, fillGradient: GRAD_MG, shadow: glow('rgba(255,79,163,0.8)', 26), fx: { loop: { type: 'motion-path', path: orbit(300, 1), duration: 18 } } }),
+ shape('ellipse', { x: 620, y: 40, w: 44, h: 44, fill: MAG, fillGradient: GRAD_MG, shadow: glow('rgba(255,79,163,0.8)', 26), fx: { loop: { type: 'motion-path', path: orbit(300, -Math.PI / 2, 1), duration: 18 } } }),
text({ id: 'orb-word', x: 140, y: 300, w: 1000, h: 110, html: 'JOIN THE SWEEP', fontSize: 66, fontWeight: 800, color: '#EAF4FF', align: 'center', letterSpacing: 16, fontFamily: IN, shadow: glow('rgba(255,79,163,0.3)', 40) }),
mono(390, 430, 'ORBITAL.EXAMPLE · GROUND STATION OPEN HOUSE FRIDAYS', 'rgba(178,196,224,0.5)'),
star(200, 160, 6, 18, 2), star(1040, 520, 7, 22, 4),
diff --git a/scripts/gallery-photos/thumbs/fair.jpg b/scripts/gallery-photos/thumbs/fair.jpg
index 70a49b0d..62fb3441 100644
Binary files a/scripts/gallery-photos/thumbs/fair.jpg and b/scripts/gallery-photos/thumbs/fair.jpg differ
diff --git a/scripts/gallery-photos/thumbs/fairwide.jpg b/scripts/gallery-photos/thumbs/fairwide.jpg
index 3decbd49..39245b9e 100644
Binary files a/scripts/gallery-photos/thumbs/fairwide.jpg and b/scripts/gallery-photos/thumbs/fairwide.jpg differ
diff --git a/scripts/gallery-photos/thumbs/press.jpg b/scripts/gallery-photos/thumbs/press.jpg
index 1bc58297..e899eb75 100644
Binary files a/scripts/gallery-photos/thumbs/press.jpg and b/scripts/gallery-photos/thumbs/press.jpg differ
diff --git a/scripts/gallery-photos/thumbs/stars.jpg b/scripts/gallery-photos/thumbs/stars.jpg
index 2418908d..c6d98c8c 100644
Binary files a/scripts/gallery-photos/thumbs/stars.jpg and b/scripts/gallery-photos/thumbs/stars.jpg differ
diff --git a/scripts/gallery-photos/thumbs/vase1.jpg b/scripts/gallery-photos/thumbs/vase1.jpg
index d3d1a5eb..fa5f63a4 100644
Binary files a/scripts/gallery-photos/thumbs/vase1.jpg and b/scripts/gallery-photos/thumbs/vase1.jpg differ
diff --git a/scripts/gallery-photos/thumbs/vase2.jpg b/scripts/gallery-photos/thumbs/vase2.jpg
index 84a37236..59205d5b 100644
Binary files a/scripts/gallery-photos/thumbs/vase2.jpg and b/scripts/gallery-photos/thumbs/vase2.jpg differ
diff --git a/scripts/gallery-photos/thumbs/vase3.jpg b/scripts/gallery-photos/thumbs/vase3.jpg
index 5e92f932..676eab2b 100644
Binary files a/scripts/gallery-photos/thumbs/vase3.jpg and b/scripts/gallery-photos/thumbs/vase3.jpg differ
diff --git a/site-src/landing.html b/site-src/landing.html
index b8129364..bd2754a6 100644
--- a/site-src/landing.html
+++ b/site-src/landing.html
@@ -373,8 +373,7 @@ section:not(.paper) .card p { color: var(--mist); }
.gbtn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
/* signal poster — red duotone photo, bone masthead */
.gp-signal { background: #141310 url(__PH_PRESS__) center/cover; }
-.gp-signal .ov { inset: 0; background: rgba(20, 19, 16, 0.42); }
-.gp-signal .ov2 { inset: 0; background: rgba(226, 52, 30, 0.48); }
+.gp-signal .ov { inset: 0; background: rgba(20, 19, 16, 0.62); }
.gp-signal .k { left: 9%; top: 11%; font-size: 8.5px; font-weight: 700; letter-spacing: 0.26em; color: #EFEDE4; }
.gp-signal .hr { left: 9%; right: 9%; top: 22%; height: 1.5px; background: rgba(239, 237, 228, 0.7); }
.gp-signal .t { left: 8.5%; top: 27%; font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 42px; line-height: 0.94; color: #EFEDE4; text-shadow: 0 2px 14px rgba(20, 19, 16, 0.45); }
@@ -537,7 +536,7 @@ footer b { color: var(--mist); font-weight: 600; }
<div class="gal">
<div class="gcard rv">
<a class="gposter gp-signal" href="/gallery/signal-editorial-type.bento.html" target="_blank" rel="noopener" aria-label="Open the Signal template in a new tab">
- <span class="ov"></span><span class="ov2"></span>
+ <span class="ov"></span>
<span class="k">SIGNAL — A FESTIVAL OF GRAPHIC IDEAS</span>
<span class="hr"></span>
<span class="t">Loud<br>letters.</span>