Skip to content

Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.

Shorten release film and show the cost-saving mechanisms

David Zhangf70c45fe7ea2
diff --git a/video/release/DIRECTION.md b/video/release/DIRECTION.md
index 4a37ce1..66da261 100644
--- a/video/release/DIRECTION.md
+++ b/video/release/DIRECTION.md
@@ -1,24 +1,18 @@
-# Magnetic search field
+# Short release cut
-A new production built from blank source. Code becomes a fast-moving field of
-signals. A magnetic search pulse isolates useful source and pulls it into one
-coherent packet. The audience sees noise become context.
+Keep the statistic brief, use the middle to explain the savings, and end on
+installation. Maintain a dark, stable background with upright type. Beat accents
+move objects; they never turn the whole screen red.
-Use a black stage, enormous upright condensed type, hot red impacts and icy
-white source lines. The camera travels through depth; the type remains locked
-and readable. No rotating words or logo ornaments. Large lens rings, displaced
-source strips, laser sweeps, shockwaves, debris and edge light respond visibly
-to the soundtrack's shared kick, snare and accent envelopes.
-
-| Main time | Camera / signature action |
+| Main time | Purpose and action |
| --- | --- |
-| 0–4s | Fly through a source tunnel as INTRODUCING, JEVGREP and 0.5 punch into a locked composition. Each bass hit compresses the tunnel and launches a ring. |
-| 4–9s | Smash into the 59% claim. A solid cost mass fractures into hundreds of accelerated fragments; the remaining core keeps pulsing beneath SAME PERFORMANCE. |
-| 9–14s | Dive across a deep code field. A moving search aperture bends selected strips inward while the rest streak past. |
-| 14–18s | Whip into the extracted source. Reference threads snap into place and collapse the source into one packet, then the camera travels through it. |
-| 18–24s | Match into the actual CLI result. Background beats keep moving while the terminal and install command stay readable. |
+| 0–2.5s | Introduce Jevgrep 0.5 with the title reframe. |
+| 2.5–5s | The cost bar breaks apart; show 59% less Jev API cost and same performance. |
+| 5–9s | Scan compact previews; expand a selected source rather than opening every file. |
+| 9–13.5s | Merge repeated relevance criteria into one shared brief containing a larger code batch. |
+| 13.5–18s | End directly on npm installation, authentication, and skill installation. |
-Every beat and accent is shared by the score and picture. Verify with captures
-immediately before, on, and after impacts, plus regular shot coverage. Review
-motion sequences, not just attractive held frames. The headline claim is Jev
-API cost; benchmark methodology stays in the README, never in the film.
+The 59% shot is half its previous duration. The two mechanism shots follow the
+accepted release architecture: preview-based admission, larger declaration
+batches, and shared question criteria. The batch count is an upper bound.
+Supporting benchmark details remain in the README, not in the frames.
diff --git a/video/release/README.md b/video/release/README.md
index c17acf3..fb98a6b 100644
--- a/video/release/README.md
+++ b/video/release/README.md
@@ -1,9 +1,9 @@
# Jevgrep 0.5 — magnetic search field
-A 24-second release film built from blank source. Upright condensed typography
-sits inside a moving source field: search isolates relevant code, reference
-threads collect it, and a real CLI run delivers the result. Beat-driven rings,
-light sweeps, camera impacts, scanline tears and fragments carry the motion.
+An 18-second release film: a brief cost result, two concrete savings mechanisms,
+and the installation commands. Previews avoid unnecessary full reads; larger
+code batches share one relevance brief. Local object motion follows the beat,
+with no full-screen red wash, edge pulse or red wipe.
This standalone package is outside the CLI workspace. Node.js 24 and ffmpeg are
required. From this directory:
@@ -18,7 +18,7 @@ npm run render
npm run check-types
```
-The master is `out/jevgrep-0.5.mp4`, rendered at 1080p60 with H.264 CRF 14 and
+The master is `out/jevgrep-0.5-short.mp4`, rendered at 1080p60 with H.264 CRF 14 and
320k AAC. Generated media and dependencies are ignored. Font licenses accompany
the vendored Anton and IBM Plex Mono files.
@@ -44,7 +44,7 @@ equivalence. Native prices are estimates, including a conservative allowance
for 19 missing responses. Methodology stays in these supporting docs, not in
the marketing frames.
-The terminal reproduces a fresh installed-CLI search run on this repository:
+The opening thumbnail reproduces an installed-CLI search run on this repository:
`jg "How are previews used to decide which files to open?" packages/core`.
It returned 17 files; the displayed first three paths are followed by an
ellipsis. Source-strip artwork illustrates retrieval rather than a literal
diff --git a/video/release/REVIEW.md b/video/release/REVIEW.md
index d3cfb57..1bfc8ae 100644
--- a/video/release/REVIEW.md
+++ b/video/release/REVIEW.md
@@ -1,32 +1,26 @@
-# Review record
+# Short cut review
-The production was rebuilt from blank source after deleting all earlier video
-projects and renders. The first new draft was rejected by an independent visual
-reviewer: its effects moved while its subjects remained too fixed.
+The 18-second revision removes full-screen red washes, pulsing edge light,
+expanding red rings and red wipes. Only local source, scanner and cost-fragment
+motion follows the beat. The cost shot lasts 2.5 seconds, followed by concrete
+preview-admission and shared-brief batching illustrations. The final 4.5 seconds
+are reserved for installation, authentication and skill setup.
-The revised direction moves the subjects themselves. The title changes scale
-when the version arrives; the percentage reframes as the cost bar loses its
-right-hand section; selected source takes over the search aperture; linked
-sources transfer into a single packet and move through camera; the terminal
-leaves to make the installation command the final hero. Headlines remain upright.
+A fresh reviewer inspected all 17 chronological frames and the impact sheets.
+No blocking layout or legibility issue was found. The before/after mechanisms
+were clear and no full-screen red wash appeared in the captures.
-The reviewer inspected every shot plus before/on/after-impact sequences and
-accepted the revised composition and subject motion. Final checks cover clearing
-background strips behind the collected packet and ensuring the larger packet
-fits before its intentional camera transition.
+The preview and batch claims were checked against the retained benchmark report
+and the production shared-criteria request builder and 128-unit batch limit.
+Methodology remains outside the marketing frames. Type checking passes.
-The independent code review found a one-frame floating-point synchronization
-error. Picture time now subtracts the integer pre-roll frame count before
-conversion to seconds. Audio and visual envelopes consume the same event
-schedule. Type checking passes.
+Audio is verified by measurement and spectrogram, not by ear. Final encoded
+media metadata and loudness readings live in ignored out/.
-Audio is checked by measurement and spectrogram, not by ear. The compressed
-score measured −12.9 LUFS integrated and −1.3 dBFS true peak before AAC encoding.
-Final media metadata and encoded-audio readings are kept with the ignored render
-artifacts under out/.
+Independent code review found duplicate accents when the installation and final
+scene share a timestamp. Accent times are now deduplicated; all 13 are unique.
-Final encoded-frame review accepted all settled shots and transition sequences:
-the collected card is legible, has title/footer clearance, and the distracting
-strip cluster is gone. The 1080p60 master contains 1,458 frames plus AAC padding.
-Final AAC measures −13.1 LUFS integrated, 1.0 LU range and −0.9 dBFS true peak.
-All 182 scheduled events pass the integer-frame beat-boundary check.
+Final encoded-frame review accepted the batch layout, thumbnail and installation
+ending with no blockers. The master is 1,098 frames at 1080p60 (18.3 seconds
+including thumbnail hold). AAC measures −13.2 LUFS and −1.2 dBFS true peak;
+audio was checked by measurement, not by ear.
diff --git a/video/release/package.json b/video/release/package.json
index dc1d434..c830302 100644
--- a/video/release/package.json
+++ b/video/release/package.json
@@ -1 +1 @@
-{"name":"jevgrep-release-film","private":true,"type":"module","scripts":{"studio":"remotion studio src/index.tsx","music":"node scripts/score.mjs","render":"npm run music && remotion render src/index.tsx Release out/jevgrep-0.5.mp4 --crf=14 --x264-preset=slow --audio-bitrate=320k --concurrency=4","draft":"npm run music && remotion render src/index.tsx Release out/draft.mp4 --scale=.5 --crf=20 --concurrency=4","stills":"node scripts/stills.mjs","check-types":"tsc --noEmit"},"dependencies":{"@remotion/cli":"4.0.529","remotion":"4.0.529","react":"^19.3.0","react-dom":"^19.3.0"},"devDependencies":{"@types/react":"^19.3.0","typescript":"^5.9.3"}}
+{"name":"jevgrep-release-film","private":true,"type":"module","scripts":{"studio":"remotion studio src/index.tsx","music":"node scripts/score.mjs","render":"npm run music && remotion render src/index.tsx Release out/jevgrep-0.5-short.mp4 --crf=14 --x264-preset=slow --audio-bitrate=320k --concurrency=4","draft":"npm run music && remotion render src/index.tsx Release out/draft.mp4 --scale=.5 --crf=20 --concurrency=4","stills":"node scripts/stills.mjs","check-types":"tsc --noEmit"},"dependencies":{"@remotion/cli":"4.0.529","remotion":"4.0.529","react":"^19.3.0","react-dom":"^19.3.0"},"devDependencies":{"@types/react":"^19.3.0","typescript":"^5.9.3"}}
diff --git a/video/release/scripts/score.mjs b/video/release/scripts/score.mjs
index d75e0c6..31db5d4 100644
--- a/video/release/scripts/score.mjs
+++ b/video/release/scripts/score.mjs
@@ -18,7 +18,7 @@ function add(time, duration, sound, pan = 0) {
}
}
for (const e of EVENTS) {
- const gain = e.a * (e.t >= 22 ? 0.45 : 1);
+ const gain = e.a * (e.t >= DURATION - 2 ? 0.45 : 1);
if (e.kind === 'kick') {
add(
e.t,
@@ -75,9 +75,9 @@ for (const e of EVENTS) {
);
}
}
-for (let i = 0; i < 96; i++) {
+for (let i = 0; i < DURATION * 4; i++) {
const time = i * 0.25;
- if (time < 4 || time > 22) continue;
+ if (time < CUE.claim || time > DURATION - 1.5) continue;
const notes = [220, 261.63, 329.63, 392, 329.63, 293.66, 261.63, 196];
const f = notes[i % 8];
add(
diff --git a/video/release/src/Field.tsx b/video/release/src/Field.tsx
index 84e8cf3..4c79d5b 100644
--- a/video/release/src/Field.tsx
+++ b/video/release/src/Field.tsx
@@ -1,5 +1,5 @@
import React, { useLayoutEffect, useRef } from 'react';
-import { CUE, EVENTS, clamp, ease, progress, pulse } from './timeline';
+import { CUE, clamp, progress, pulse } from './timeline';
const W = 1920,
H = 1080,
RED = '#ff3e2b',
@@ -32,7 +32,7 @@ export function Field({ t }: { t: number }) {
g.fillStyle = '#08090d';
g.fillRect(0, 0, W, H);
const bloom = g.createRadialGradient(960, 560, 20, 960, 560, 1000);
- bloom.addColorStop(0, `rgba(126,22,16,${0.1 + kick * 0.11})`);
+ bloom.addColorStop(0, 'rgba(28,40,60,.12)');
bloom.addColorStop(0.5, 'rgba(16,24,34,.2)');
bloom.addColorStop(1, 'rgba(0,0,0,0)');
g.fillStyle = bloom;
@@ -85,27 +85,6 @@ export function Field({ t }: { t: number }) {
g.restore();
g.globalAlpha = 1;
g.shadowBlur = 0;
- // Concentric beat rings are full-frame effects, not static decoration.
- const cx = 960,
- cy = 540;
- for (const e of EVENTS) {
- if (e.kind !== 'accent' || e.t !== CUE.fracture) continue;
- const age = t - e.t;
- if (age < 0 || age > 0.7) continue;
- const q = age / 0.7;
- const radius = 80 + ease(q) * 1250;
- g.globalAlpha = (1 - q) * (0.25 + e.a * 0.35) * (closing ? 0.3 : 1);
- glow(
- g,
- e.kind === 'accent' ? RED : '#697f94',
- Math.max(1, (1 - q) * (e.kind === 'accent' ? 14 : 4)),
- );
- g.beginPath();
- g.ellipse(cx, cy, radius, radius * 0.56, 0, 0, Math.PI * 2);
- g.stroke();
- }
- g.globalAlpha = 1;
- g.shadowBlur = 0;
// The API cost mass loses 59% of its fragments exactly on the accent.
if (t >= CUE.claim && t < CUE.search) {
const d = t - CUE.fracture;
@@ -131,7 +110,7 @@ export function Field({ t }: { t: number }) {
g.shadowBlur = 0;
}
if (inSearch) {
- const scan = progress(t, CUE.scan, 2.5),
+ const scan = progress(t, CUE.scan, CUE.lock - CUE.scan),
lock = progress(t, CUE.lock, 0.3);
const originalX = 250 + scan * 1420,
sx = originalX + (960 - originalX) * lock,
@@ -150,45 +129,6 @@ export function Field({ t }: { t: number }) {
g.globalAlpha = 1;
g.shadowBlur = 0;
}
- if (inCollect) {
- const collect = progress(t, CUE.collect, 0.8),
- starts = [
- [750, 510],
- [1120, 540],
- [960, 725],
- ];
- for (let i = 0; i < 3; i++) {
- const [x, y] = starts[i],
- sx = x + (960 - x) * collect,
- sy = y + (620 - y) * collect,
- cx = (sx + 960) / 2,
- cy = (sy + 620) / 2 - (1 - collect) * (80 + kick * 35);
- g.globalAlpha = 1 - collect;
- glow(g, i === 0 ? RED : BLUE, 3 + kick * 3);
- g.beginPath();
- g.moveTo(sx, sy);
- g.quadraticCurveTo(cx, cy, 960, 620);
- g.stroke();
- for (let n = 0; n < 4; n++) {
- const u = (t * 1.7 + n / 4) % 1,
- px = (1 - u) ** 2 * sx + 2 * (1 - u) * u * cx + u * u * 960,
- py = (1 - u) ** 2 * sy + 2 * (1 - u) * u * cy + u * u * 620;
- g.fillStyle = '#f3fbff';
- g.beginPath();
- g.arc(px, py, 4 + kick * 3, 0, Math.PI * 2);
- g.fill();
- }
- }
- g.globalAlpha = 1 - collect;
- g.fillStyle = RED;
- g.shadowColor = RED;
- g.shadowBlur = 40;
- g.beginPath();
- g.arc(960, 620, 12 + kick * 12, 0, Math.PI * 2);
- g.fill();
- g.shadowBlur = 0;
- g.globalAlpha = 1;
- }
// Bass hits drive perspective streaks, giving the field a physical acceleration.
if (kick > 0.12 && !closing) {
g.globalAlpha = kick * 0.26;
@@ -220,13 +160,6 @@ export function Field({ t }: { t: number }) {
g.fillRect(x, y, 2 + phase * 7, 1 + phase * 3);
}
g.globalAlpha = 1;
- const edge = g.createLinearGradient(0, 0, 0, H);
- edge.addColorStop(0, `rgba(255,62,43,${0.12 + kick * 0.3})`);
- edge.addColorStop(0.12, '#ff3e2b00');
- edge.addColorStop(0.88, '#ff3e2b00');
- edge.addColorStop(1, `rgba(255,62,43,${0.1 + snare * 0.3})`);
- g.fillStyle = edge;
- g.fillRect(0, 0, W, H);
}, [t]);
return <canvas ref={ref} width={W} height={H} style={{ position: 'absolute', inset: 0 }} />;
}
diff --git a/video/release/src/Film.tsx b/video/release/src/Film.tsx
index a394c9e..7dd73f4 100644
--- a/video/release/src/Film.tsx
+++ b/video/release/src/Film.tsx
@@ -148,7 +148,7 @@ function Intro({ t }: { t: number }) {
<div
style={{
height: 4,
- width: `${clamp(t / 4) * 100}%`,
+ width: `${clamp(t / CUE.claim) * 100}%`,
background: RED,
boxShadow: `0 0 ${10 + kick * 30}px ${RED}`,
}}
@@ -251,106 +251,175 @@ function Source({
);
}
function Search({ t }: { t: number }) {
- const lock = bounce(t, CUE.lock);
+ const lock = bounce(t, CUE.lock),
+ fade = 1 - progress(t, CUE.lock, 0.25);
return (
<>
- <HitText text="CUT THE NOISE." t={t} start={CUE.search} x={110} y={125} size={125} />
- <div
- style={{
- ...at(120, 310),
- fontFamily: 'Mono',
- fontSize: 34,
- color: BLUE,
- opacity: progress(t, CUE.search + 0.5),
- }}
- >
- “How are previews used to decide which files to open?”
- </div>
+ <HitText
+ text="PREVIEW BEFORE FULL READS."
+ t={t}
+ start={CUE.search}
+ x={110}
+ y={125}
+ size={106}
+ />
+ {[0, 1, 2].map(i => (
+ <div
+ key={i}
+ style={{
+ ...at(190 + i * 560, 480),
+ width: 420,
+ height: 170,
+ border: `2px solid ${BLUE}`,
+ background: '#101823',
+ padding: 28,
+ boxSizing: 'border-box',
+ opacity: fade,
+ }}
+ >
+ <div style={{ fontFamily: 'Mono', fontSize: 29, color: BLUE }}>PREVIEW</div>
+ {[280, 220, 300].map((w, j) => (
+ <div key={j} style={{ height: 5, width: w, background: '#dbe7f688', marginTop: 18 }} />
+ ))}
+ </div>
+ ))}
<div style={{ opacity: clamp(lock * 3) }}>
<Source
index={0}
x={960}
- y={660}
+ y={625}
scale={0.5 + lock * 0.85}
energy={pulse(t, 'accent', 0.1)}
/>
<div
style={{
- ...at(1315, 540),
- width: 112,
- height: 112,
+ ...at(1320, 510),
+ width: 104,
+ height: 104,
borderRadius: '50%',
- background: RED,
- color: WHITE,
+ background: BLUE,
+ color: '#08090d',
fontFamily: 'Display',
- fontSize: 74,
+ fontSize: 73,
textAlign: 'center',
- lineHeight: '112px',
- transform: `scale(${bounce(t, CUE.lock)})`,
+ lineHeight: '104px',
}}
>
✓
</div>
</div>
+ <HitText
+ text="FULL READS ONLY WHEN RELEVANT."
+ t={t}
+ start={CUE.lock + 0.25}
+ x={110}
+ y={888}
+ size={70}
+ color={BLUE}
+ />
</>
);
}
function Context({ t }: { t: number }) {
- const enter = progress(t, CUE.context, 0.4),
- collect = progress(t, CUE.collect, 0.8),
- depart = progress(t, CUE.terminal - 0.35, 0.35);
- const coords = [
- [440, 510],
- [1430, 540],
- [960, 820],
- ];
+ const collect = progress(t, CUE.collect, 0.85),
+ tick = pulse(t, 'kick', 0.08);
return (
<>
- <HitText text="KEEP THE CONTEXT." t={t} start={CUE.context} x={110} y={125} size={122} />
- {coords.map(([x, y], i) => (
- <Source
+ <HitText text="ONE BRIEF. MORE CODE." t={t} start={CUE.context} x={110} y={125} size={120} />
+ {[0, 1, 2].map(i => (
+ <div
key={i}
- index={i}
- x={x + (960 - x) * collect}
- y={y + (620 - y) * collect + i * 9 * collect}
- scale={(0.6 + enter * 0.4) * (1 + collect * 0.65 + depart * 5)}
- opacity={(1 - depart) * (i === 0 ? 1 : clamp(1 - collect * 4))}
- />
+ style={{
+ ...at(160 + i * 555 + (960 - (160 + i * 555)) * collect, 330 - collect * 20),
+ width: 490,
+ height: 85,
+ background: BLUE,
+ color: '#08090d',
+ fontFamily: 'Mono',
+ fontSize: 27,
+ lineHeight: '85px',
+ textAlign: 'center',
+ opacity: clamp(1 - collect * 3),
+ transform: `translateX(${-collect * 245}px)`,
+ }}
+ >
+ RELEVANCE CRITERIA
+ </div>
))}
+ {Array.from({ length: 18 }, (_, i) => {
+ const x = 190 + (i % 6) * 266,
+ y = 495 + Math.floor(i / 6) * 115;
+ return (
+ <div
+ key={i}
+ style={{
+ ...at(
+ x + (550 + (i % 6) * 130 - x) * collect,
+ y + (500 + Math.floor(i / 6) * 75 - y) * collect,
+ ),
+ width: 210 * (1 - collect) + 110 * collect,
+ height: 72 * (1 - collect) + 48 * collect,
+ border: `2px solid ${BLUE}`,
+ background: '#132130',
+ transform: `scale(${1 + tick * 0.035})`,
+ }}
+ >
+ {[0, 1, 2].map(j => (
+ <div
+ key={j}
+ style={{
+ margin: '6px 12px',
+ height: 3,
+ width: `${70 - j * 13}%`,
+ background: '#cfe5fa99',
+ }}
+ />
+ ))}
+ </div>
+ );
+ })}
<div
style={{
- ...at(120, 945),
- fontFamily: 'Display',
- fontSize: 47,
- color: BLUE,
- opacity: collect * (1 - depart),
+ ...at(475, 330),
+ width: 950,
+ height: 405,
+ border: `3px solid ${BLUE}`,
+ boxShadow: '0 0 25px #87eaff22',
+ opacity: collect,
}}
>
- THE RIGHT SOURCE. READY FOR YOUR AGENT.
+ <div
+ style={{
+ height: 92,
+ background: BLUE,
+ color: '#08090d',
+ fontFamily: 'Mono',
+ fontSize: 38,
+ textAlign: 'center',
+ lineHeight: '92px',
+ }}
+ >
+ ONE SHARED BRIEF
+ </div>
</div>
+ <HitText
+ text="UP TO 128 CODE UNITS PER BATCH."
+ t={t}
+ start={CUE.collect + 0.6}
+ x={110}
+ y={865}
+ size={75}
+ />
</>
);
}
-function Terminal({ t, thumb = false }: { t: number; thumb?: boolean }) {
- const entrance = thumb ? 1 : bounce(t, CUE.terminal),
- result = thumb ? 1 : progress(t, CUE.results, 0.45),
- cta = thumb ? 0 : progress(t, CUE.install, 0.5);
+function Thumbnail() {
return (
<>
- <div
- style={{
- ...at(110, 100),
- fontFamily: 'Display',
- fontSize: thumb ? 91 : 118,
- color: WHITE,
- letterSpacing: -2,
- }}
- >
- {thumb ? 'INTRODUCING JEVGREP 0.5' : 'JEVGREP 0.5'}
+ <div style={{ ...at(110, 100), fontFamily: 'Display', fontSize: 91, color: WHITE }}>
+ INTRODUCING JEVGREP 0.5
</div>
- <div
- style={{ ...at(115, 250), fontFamily: 'Mono', fontSize: 32, color: BLUE, opacity: 1 - cta }}
- >
+ <div style={{ ...at(115, 250), fontFamily: 'Mono', fontSize: 32, color: BLUE }}>
Find code by what it does.
</div>
<div
@@ -361,8 +430,6 @@ function Terminal({ t, thumb = false }: { t: number; thumb?: boolean }) {
border: '1px solid #7e8a9c',
borderLeft: `7px solid ${RED}`,
background: '#0a0e17f5',
- boxShadow: '0 20px 90px #000',
- transform: `translate(${cta * 2100}px,${(1 - entrance) * 400}px)`,
fontFamily: 'Mono',
padding: '34px 40px',
boxSizing: 'border-box',
@@ -375,7 +442,7 @@ function Terminal({ t, thumb = false }: { t: number; thumb?: boolean }) {
<span style={{ color: RED }}>$</span> jg "How are previews used to decide which files to
open?" packages/core
</div>
- <div style={{ marginTop: 26, opacity: result }}>
+ <div style={{ marginTop: 26 }}>
<span style={{ color: BLUE }}>Jevgrep: 17 relevant files.</span>
<br />
{paths[0]}
@@ -383,68 +450,42 @@ function Terminal({ t, thumb = false }: { t: number; thumb?: boolean }) {
{paths[1]} &nbsp; · &nbsp; {paths[2]} &nbsp; …
</div>
</div>
- {!thumb && (
- <div
- style={{
- ...at(110, 300),
- fontFamily: 'Display',
- fontSize: 138,
- color: WHITE,
- lineHeight: 1.12,
- opacity: cta,
- transform: `translateX(${(1 - cta) * -1500}px)`,
- }}
- >
- YOUR AGENT.
- <br />
- <span style={{ color: RED }}>BETTER CONTEXT.</span>
- </div>
- )}
- <div
- style={{
- ...at(115, thumb ? 838 : 730),
- fontFamily: 'Mono',
- fontSize: thumb ? 36 : 57,
- color: WHITE,
- opacity: thumb ? 1 : cta,
- }}
- >
+ <div style={{ ...at(115, 838), fontFamily: 'Mono', fontSize: 36, color: WHITE }}>
npm i -g @dzhng/jevgrep
</div>
- <div
- style={{
- ...at(115, thumb ? 901 : 842),
- fontFamily: 'Mono',
- fontSize: thumb ? 31 : 44,
- color: RED,
- opacity: thumb ? 1 : cta,
- }}
- >
- jg auth &nbsp; → &nbsp; jg skill
- </div>
- <div style={{ ...at(1175, 950), fontFamily: 'Mono', fontSize: 26, color: '#afbdd1' }}>
- github.com/dzhng/jevgrep
+ <div style={{ ...at(115, 901), fontFamily: 'Mono', fontSize: 31, color: BLUE }}>
+ jg auth → jg skill
</div>
</>
);
}
-function Cut({ t }: { t: number }) {
- const cue = [CUE.claim, CUE.search, CUE.context, CUE.terminal].find(
- at => t >= at && t < at + 0.22,
- );
- if (cue === undefined) return null;
- const p = (t - cue) / 0.22;
+function Install({ t }: { t: number }) {
return (
- <div
- style={{
- position: 'absolute',
- inset: 0,
- background: RED,
- transform: `translateX(${(p * 2 - 1) * 2200}px)`,
- clipPath: 'polygon(8% 0,100% 0,92% 100%,0 100%)',
- pointerEvents: 'none',
- }}
- />
+ <>
+ <HitText text="INSTALL JEVGREP." t={t} start={CUE.install} x={110} y={130} size={132} />
+ {['npm i -g @dzhng/jevgrep', 'jg auth', 'jg skill'].map((command, i) => {
+ const p = progress(t, CUE.install + 0.25 + i * 0.5, 0.25);
+ return (
+ <div
+ key={command}
+ style={{
+ ...at(120, 420 + i * 175),
+ fontFamily: 'Mono',
+ fontSize: 57,
+ color: WHITE,
+ opacity: p,
+ transform: `translateX(${(1 - p) * 100}px)`,
+ }}
+ >
+ <span style={{ color: BLUE, marginRight: 45, fontSize: 35 }}>0{i + 1}</span>
+ {command}
+ </div>
+ );
+ })}
+ <div style={{ ...at(115, 970), fontFamily: 'Mono', fontSize: 28, color: BLUE }}>
+ github.com/dzhng/jevgrep
+ </div>
+ </>
);
}
export function Film() {
@@ -460,7 +501,7 @@ export function Film() {
<>
<Field t={pre ? 22 : t} />
{pre ? (
- <Terminal t={22} thumb />
+ <Thumbnail />
) : t < CUE.claim ? (
<Intro t={t} />
) : t < CUE.search ? (
@@ -470,11 +511,10 @@ export function Film() {
) : t < CUE.terminal ? (
<Context t={t} />
) : (
- <Terminal t={t} />
+ <Install t={t} />
)}
</>
)}
- {!pre && <Cut t={t} />}
<div
style={{
position: 'absolute',
@@ -492,8 +532,8 @@ export function Poster() {
<AbsoluteFill style={{ background: '#08090d' }}>
{ready && (
<>
- <Field t={7} />
- <Proof t={7} />
+ <Field t={4.25} />
+ <Proof t={4.25} />
</>
)}
</AbsoluteFill>
diff --git a/video/release/src/timeline.ts b/video/release/src/timeline.ts
index 5387573..f0aa892 100644
--- a/video/release/src/timeline.ts
+++ b/video/release/src/timeline.ts
@@ -1,46 +1,46 @@
export const FPS = 60,
PRE = 0.3,
- DURATION = 24,
+ DURATION = 18,
BPM = 120;
export const CUE = {
introduce: 0,
- name: 0.5,
- version: 1.5,
- claim: 4,
- fracture: 4.5,
- parity: 6,
- search: 9,
- scan: 10,
- lock: 12.5,
- context: 14,
- collect: 16,
- terminal: 18,
- results: 19,
- install: 20.5,
- end: 24,
+ name: 0.25,
+ version: 1,
+ claim: 2.5,
+ fracture: 3,
+ parity: 3.5,
+ search: 5,
+ scan: 5.25,
+ lock: 7,
+ context: 9,
+ collect: 10.5,
+ terminal: 13.5,
+ results: 14,
+ install: 13.5,
+ end: 18,
};
export const SHOTS = [
- { at: 0, end: 4 },
- { at: 4, end: 9 },
- { at: 9, end: 14 },
- { at: 14, end: 18 },
- { at: 18, end: 24 },
+ { at: 0, end: 2.5 },
+ { at: 2.5, end: 5 },
+ { at: 5, end: 9 },
+ { at: 9, end: 13.5 },
+ { at: 13.5, end: 18 },
];
export type Event = { t: number; kind: 'kick' | 'snare' | 'hat' | 'accent'; a: number };
export const EVENTS: Event[] = [
- ...Array.from({ length: 48 }, (_, i) => ({
+ ...Array.from({ length: DURATION * 2 }, (_, i) => ({
t: i * 0.5,
kind: 'kick' as const,
a: i < 4 ? 0.65 : 1,
})),
- ...Array.from({ length: 24 }, (_, i) => ({ t: i + 0.5, kind: 'snare' as const, a: 0.8 })),
- ...Array.from({ length: 96 }, (_, i) => ({
+ ...Array.from({ length: DURATION }, (_, i) => ({ t: i + 0.5, kind: 'snare' as const, a: 0.8 })),
+ ...Array.from({ length: DURATION * 4 }, (_, i) => ({
t: i * 0.25,
kind: 'hat' as const,
a: i % 2 ? 0.7 : 0.3,
})),
- ...Object.values(CUE)
- .filter(t => t < 24)
+ ...Array.from(new Set(Object.values(CUE)))
+ .filter(t => t < DURATION)
.map(t => ({ t, kind: 'accent' as const, a: 1 })),
];
export const clamp = (x: number) => Math.min(1, Math.max(0, x));
@@ -55,9 +55,9 @@ export const pulse = (t: number, kind: Event['kind'], decay = 0.14) =>
),
);
export const REVIEW = [
- 0.15, 0.55, 1.3, 2.5, 3.75, 4.65, 6.6, 8.7, 9.8, 11.4, 13.4, 14.6, 16.7, 17.8, 18.9, 20.8, 23.3,
+ 0.15, 0.9, 1.8, 2.6, 3.25, 4.25, 5.15, 5.9, 7.1, 8.6, 9.5, 10.8, 12.5, 13.6, 14.3, 15.4, 17.8,
];
export const IMPACT_REVIEW = [
- 4.45, 4.5, 4.56, 4.66, 4.83, 5.05, 12.45, 12.5, 12.56, 12.7, 12.9, 13.15, 1.45, 1.55, 1.75, 2,
- 17.6, 17.7, 17.8, 17.9, 20.45, 20.6, 20.8, 21.1,
+ 2.95, 3, 3.08, 3.25, 3.5, 4.1, 6.9, 7, 7.15, 7.4, 8, 8.5, 10.4, 10.5, 10.7, 11, 11.3, 12, 13.5,
+ 13.7, 14, 14.5, 15, 17,
];