How this site works
This site is plain HTML, CSS and JavaScript with no framework and no tracking. Each chapter is written once in content/ and wrapped in a shared layout by a small Node build script. Vercel serves the result.
The animations
Every diagram is drawn in SVG by hand-written JavaScript. Animations run only while they are on screen, and they stop under the reduced-motion setting. The ball-flight diagram uses a simple model: the clubface sets most of the start direction and the gap between face and path sets the curve. The putting diagram simulates a ball rolling with friction across a sideways slope, and searches for the aim that holes it.
The handicap calculator
It uses the World Handicap System formula for a Course Handicap: Handicap Index times Slope Rating divided by 113, plus Course Rating minus par. Strokes go to holes in stroke index order.
Offline and reading options
A service worker saves every page on the first visit, so the guide works at the course with no signal. Text size, a high-legibility font, night mode and progress are stored only in your browser.
Sources
Rules come from the USGA and R&A Rules of Golf. Handicap rules come from the USGA World Handicap System pages. Dates and venues come from each championship's official site. Each chapter names its sources where it states a rule or a number.