<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Football Play Board</title>
    <description>The latest articles on DEV Community by Football Play Board (@footballplayboard).</description>
    <link>https://dev.to/footballplayboard</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4273859%2F1c302ec2-9aa1-4fac-816f-7f804cd6713a.png</url>
      <title>DEV Community: Football Play Board</title>
      <link>https://dev.to/footballplayboard</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/footballplayboard"/>
    <language>en</language>
    <item>
      <title>How I Built a Zero-Signup SVG Flag Football Play Designer (Vue 3 + PDF Export)</title>
      <dc:creator>Football Play Board</dc:creator>
      <pubDate>Mon, 30 Nov 2026 09:45:31 +0000</pubDate>
      <link>https://dev.to/footballplayboard/how-i-built-a-zero-signup-svg-flag-football-play-designer-vue-3-pdf-export-50o9</link>
      <guid>https://dev.to/footballplayboard/how-i-built-a-zero-signup-svg-flag-football-play-designer-vue-3-pdf-export-50o9</guid>
      <description>&lt;p&gt;I coach youth flag football on weekends, and I kept watching volunteer parents struggle with PowerPoint circles and screenshot playbooks the night before a game. I wanted a &lt;strong&gt;zero-signup&lt;/strong&gt; tool: open a tab, drag players on a real field, export a PNG for the group chat or a US Letter PDF for the sideline.&lt;/p&gt;

&lt;p&gt;That constraint shaped the whole stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why zero sign-up (and what it cost)
&lt;/h2&gt;

&lt;p&gt;The product goal was simple: &lt;strong&gt;first edit in under 60 seconds&lt;/strong&gt;. That ruled out "create an account to unlock the canvas." Guests get the full designer; accounts only matter for saving playbooks and paid wristband bundles later.&lt;/p&gt;

&lt;p&gt;On the server side, the PHP app serves SSR library pages (pre-rendered SVG diagrams) for SEO, while the Vue 3 SPA handles the interactive board. Share links (&lt;code&gt;/p/{token}&lt;/code&gt;) stay read-only without leaking edit state.&lt;/p&gt;

&lt;h2&gt;
  
  
  SVG field coordinates + draggable routes
&lt;/h2&gt;

&lt;p&gt;The field is a single &lt;code&gt;&amp;lt;svg&amp;gt;&lt;/code&gt; with a normalized coordinate system: width and depth are constants per format (5v5, 6v6, 7v7, etc.), and every route is stored as &lt;strong&gt;polyline points in field space&lt;/strong&gt;, not pixels.&lt;/p&gt;

&lt;p&gt;Pointer events use &lt;code&gt;SVGElement.createSVGPoint()&lt;/code&gt; plus &lt;code&gt;getScreenCTM().inverse()&lt;/code&gt; so dragging stays crisp when the board scales on mobile. Arrowheads snap from the last segment angle so coaches get clean diagrams without manual tweaking.&lt;/p&gt;

&lt;p&gt;Players are simple shapes (circle / square / X for defense) with team colors. Route-tree stamps (slant, post, corner, out, go, wheel) are parameterized point arrays relative to the selected player.&lt;/p&gt;

&lt;h2&gt;
  
  
  From SVG to printable PDF (US Letter)
&lt;/h2&gt;

&lt;p&gt;Export was the second hard requirement. Coaches want &lt;strong&gt;printable playbooks&lt;/strong&gt;, not only screen PNGs.&lt;/p&gt;

&lt;p&gt;Client-side we pipe the same SVG through &lt;strong&gt;svg2pdf.js&lt;/strong&gt; into jsPDF at US Letter dimensions, with margins that survive cheap printers. PNG export reuses the SVG bounds so sideline screenshots stay sharp in group chats.&lt;/p&gt;

&lt;p&gt;Wristband cards reuse the same geometry in a tighter grid—no second drawing engine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd do differently
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Earlier investment in &lt;strong&gt;keyboard nudging&lt;/strong&gt; for players (parents on laptops love arrow keys).&lt;/li&gt;
&lt;li&gt;More aggressive &lt;strong&gt;lazy-loading&lt;/strong&gt; on play libraries; 12+ diagrams per page adds weight even when SVG is lean.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live designer (no account):&lt;/strong&gt; &lt;a href="https://footballplayboard.com" rel="noopener noreferrer"&gt;Football Play Board&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free editable 5v5 library:&lt;/strong&gt; &lt;a href="https://footballplayboard.com/5v5-flag-football-plays" rel="noopener noreferrer"&gt;5v5 flag football plays&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you build coaching tools or SVG-first UIs, I'd love feedback in the comments—especially on export quality and mobile drag feel.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: I built and maintain Football Play Board.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>svg</category>
      <category>vue</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
