Hand-Drawn Card Generator

This is a HTTP Val that generates a hand-drawn card using SVG. The card has a wavy outline with smooth corners that give it a hand-drawn appearance.

Features

  • Dynamically generates an SVG card with wavy edges
  • Uses mathematical algorithms to create a natural hand-drawn look
  • Implements a seeded random number generator for reproducible variations
  • Allows generating new variations with the click of a button

How It Works

The card is generated using these main steps:

  1. Creates points along a rounded rectangle path
  2. Adds random variations to each point to create a hand-drawn effect
  3. Uses Bezier curves for smooth transitions between points
  4. Renders the card with a white fill and black outline

Usage

Visit this Val directly to see the generated card. Click the "Generate New Variation" button to create a new random card shape. Each variation uses a seed value that can be shared via URL parameter for reproducibility.