Jordan Perez
All Projects

Caption Lab

Creator & Solo Developer

Drop a clip and get word-by-word captions without sending it anywhere: the speech is recognized in your browser, on your device, and each word lights up as it is spoken. Four caption looks, Classic, MrBeast, Hormozi and Clean, the same four as Brollwise, with a karaoke highlight you can switch off. Click any word of the transcript to jump to that moment, and download the result as an .srt subtitle file. Whisper runs in a Web Worker through Transformers.js on WebAssembly, with word-level timestamps, from a 41 MB model or a more accurate 77 MB one that the browser caches after the first visit. I wrote the part that turns raw word timings into caption lines, closing a line when it is full, when a sentence ends or when the speaker pauses, and it is covered by an automated check. The captions are plain HTML and CSS over the video.

Tech Stack

  • Transformers.js
  • Whisper
  • WebAssembly
  • Web Workers
  • Web Audio API
  • Vite
  • GitHub Actions

More Projects

Learn to Drive

Sixty cars learn to drive the JP Racing track in your browser. Each one is steered by a tiny neural network that starts out as random numbers, and nobody shows them how to drive: the cars that get furthest pass their network on to the next generation, with small random changes. The first generations crash within metres, a car usually reaches the finish within about ten generations, and from there the best time keeps dropping. The leading car shows its seven distance sensors and its network live, and you can run the simulation up to 64 times faster, watch the whole track or start over. The road is read from JP Racing's own 3D track model: a tool I wrote finds the edges of the road surface and walks it from the start gate to the finish gate, 1,137 m in all. The physics, the sensors, the network and the evolution loop are plain JavaScript with no machine-learning library, seeded so that an automated test replays a full run and checks that a car reaches the finish. Drawn with three.js.

Paint Lab

A tray of wet paint in your browser. Pick red, yellow, blue, white or black, drag to pour it, drag fast to stir, and the paints mix the way real paint does: blue and yellow make green, red and yellow make orange, all three make brown. The liquid is a fluid simulation that runs on the graphics card, written in plain WebGL2 with no library: each pixel holds an amount of each of the five paints, not a color, and those amounts flow, swirl and settle. The color of a pixel is then computed with the mixing rule of My Little Lab, my color mixing app for children, which blends pigments instead of averaging screen colors. That is why blue and yellow give green here, and not grey. The amount of paint is also read as a height and lit from one side, which gives the wet shine. When the page opens, three pools are poured and stirred on their own, until you touch the tray.

Brollwise

AI video editor for talking-head clips: drop a raw video and walk it through six steps, each paused for a human check, to a finished video with styled captions and b-roll. WhisperX transcribes it with word-level timing into an editable transcript you can export as .txt, dead air can be cut automatically, and captions come in four styles (Classic, MrBeast, Hormozi, Clean) with an optional karaoke mode that pops each word as it is spoken. Claude reads the transcript and your project context, picks the words worth highlighting and plans a cutaway every 5 to 8 seconds, using your own reference images where they fit and Flux-generated images where they don't, and any plan can be adjusted with a plain-English instruction. FFmpeg composites the final render. Hosted on Cloud Run behind Firebase sign-in, with direct browser uploads to Cloud Storage, each user's own API keys remembered in Firestore, and a running cost history per session. Started as a fork of the open-source ButterCut project.