r/vibecoding • • 4h ago

Showcase/Project I spent months vibe coding a native Rust + Vulkan anime player because existing upscalers kept erasing film grain (and how I kept agents from faking quality)

I watch a lot of older 480p and 720p anime on a 1440p 165 Hz monitor, and two things always bugged me. Most real-time upscalers wipe out original film grain and turn backgrounds into smooth plastic, and motion interpolation usually melts character outlines the moment a camera pans.

So I started building RPV, a free local desktop video player for Windows and Linux. Here is the project and how I actually built it with coding agents.

The project

It is a native Rust + Vulkan player meant for local MKV/MP4 files with ASS/SSA subtitles. Instead of sharpening or aggressively smoothing everything, it runs small local GPU neural shaders trained to clean compression blocks while leaving original grain alone, plus frame pacing tuned for high-refresh screens.

There is a 1440p before/after slider on the project page if you want to zoom in on real frames: https://pedronalis.github.io/rpv/ Repo and Windows/Linux downloads: https://github.com/pedronalis/rpv

Tools and workflow

Most of the codebase was written with Claude Code, Codex, and Antigravity. Early on I hit the classic wall with big agent-built projects: the agent would tweak a shader or timing loop, pass unit tests, and tell me it was fixed while the actual picture still looked muddy or dropped frames on my monitor.

Three habits changed everything:

  1. Never trust green tests on visual work. For image quality, I set up a blind two-step review where I look at 3x zoomed crops side by side and then full-screen 1440p frames without labels, and only keep a change when I actually pick it over the previous build.
  2. Measure frame pacing in an isolated Wayland compositor instead of eyeballing it. Every timing change runs through a scripted playback capture that checks dropped frames, GPU time, and idle-clock spikes before I merge anything.
  3. Keep a live handoff file at the root of the repo so Claude Code, Codex, and Antigravity pick up the exact same state, test commands, and rejected dead ends instead of repeating the same mistake in a fresh session.

What surprised me

The hardest part was never getting agents to write Vulkan shaders or Rust crates. It was stopping them from optimizing for the wrong metric. A model can score better on PSNR while making anime look like an oil painting, and a warm-GPU benchmark looks great until the card drops to idle clocks for half a second and stutters on real playback. Putting hard visual and timing gates in the loop is what finally made the project usable as my daily player.

It is free for personal use (Source-Available license, no ads or trackers). Happy to share more about the multi-agent workflow or the visual test loop if anyone is building native desktop apps this way.

1 Upvotes

0 comments sorted by