{
  "id": 20891458,
  "title": "I built a site where you throw tomatoes at any picture (Next.js, Vercel Blob, no sign-up)",
  "url": "https://urgent.news/2026/11/20/i-built-a-site-where-you-throw-tomatoes-at-any-picture-next-js-vercel",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-20T11:29:58.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/p33m/i-built-a-site-where-you-throw-tomatoes-at-any-picture-nextjs-vercel-blob-no-sign-up-k3f"
  },
  "original_language": "en",
  "account": "While browsing TikTok, the creator of Tomato Throw noticed playful videos featuring a tomato flying toward the camera, shrinking as it moved, and splatting onto the screen. This animation piqued the creator's interest, leading to the development of Tomato Throw. The site allows users to upload a picture and share a link, where anyone can click to throw tomatoes at the image. There's no account creation or email required.\n\nThe flight animation was challenging to perfect. Initially, the creator used CSS transitions, which resulted in a sticker sliding across the screen. However, a realistic throw involves an arc, shrink, and spin simultaneously. To achieve this, keyframes were sampled along a quadratic Bezier curve and provided to the Web Animations API. The control point sits slightly above the target with random sideways drift, ensuring unique throws each time.\n\nSplat effects are generated using an SVG blob, created from a seed to ensure identical splats every time. The preview image, which appears in platforms like X or Slack when sharing the link, is rendered on the server with next/og. To maintain consistency, the same shape function is used for both the page and the preview image. The renderer behind next/og only accepts plain SVG elements, so React components were not reused.\n\nVercel's serverless disk initially caused issues, leading the creator to move to a private Vercel Blob store. Each picture is stored as a single file named with the ID, base64-encoded name, and extension. The browser compresses large pictures before uploading, and GIFs are sent as-is. A Report button is present on each picture page, allowing users to delete the image. Three different reporters can delete the same picture without repeating the process. Manual deletion is also possible through a token-protected route.\n\nThe builder utilized WebAudio to synthesize sounds, eliminating the need for audio files. The layout employs 100dvh and container query units; however, mobile browser toolbars broke 100vh functionality. Pages for individual pictures are set to noindex but remain crawlable, as crawlers can still access the page even if indexing is disabled. The creator started with a picture of their own face, suggesting others do the same.",
  "summary": "I kept seeing those TikTok videos where a tomato flies at the camera, gets smaller as it goes, and splats on the screen. I wanted that exact feel in a browser, so I built Tomato Throw: you upload a picture, optionally give it a name, and get a link. Anyone who opens the link taps to throw tomatoes at it. No account, no email. Try it: https://tomatothrow.com Most of the site is small. A few parts…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}