Back to Pursuit PIT
SOURCE / PINNED RELEASE

Made of little things.

Pursuit PIT

Release
565f4981bdc3…
Author-recorded commit
197afdbed44b…
License
LICENSE
Author’s source reference
nostr://npub12lm3rxsva8kfempyjkxupt09e02n3fezurkyadyqfejdc5e0r2kscqty6r/wss%3A%2F%2Fgit.napplet.soy%2F/n-951414e7fd7

Archive hash verified: 3b0485589942fd5c…. The source-to-build association is the author’s claim; it has not been independently rebuilt.

tools/chase.mjs
// Hold the gas and screenshot every few seconds: node tools/chase.mjs
import { chromium } from '../node_modules/.pnpm/playwright@1.61.0/node_modules/playwright/index.mjs';
import { pathToFileURL } from 'node:url';
import { resolve } from 'node:path';
const browser = await chromium.launch({ args: ['--use-gl=angle', '--use-angle=swiftshader', '--enable-unsafe-swiftshader'] });
const page = await browser.newPage({ viewport: { width: 960, height: 600 } });
await page.goto(pathToFileURL(resolve('dist/index.html')).href);
await page.waitForTimeout(500);
await page.keyboard.press('Enter');
await page.keyboard.down('KeyW');
for (let i = 1; i <= 6; i++) {
  await page.waitForTimeout(3000);
  await page.screenshot({ path: `tools/shots/chase-${i}.png` });
  console.log(i, await page.textContent('#clock'));
}
await browser.close();