nowfound

Life & fun · September 5, 2014

TB

Twitter bot that tweets bad ball and strike calls in MLB baseball games

@MajorLeagueUmp or @[TeamNickname]Ump You're watching a baseball game. The pitcher throws a pitch right down the middle of the plate, but the umpire calls it a ball. Was it really a bad call or did you just have a bad angle. @MajorLeagueUmp or @[TeamNickname]Ump tweets bad ball and strike calls in realtime and includes: - A picture of the pitch location - Percentage of the time a pitch in that location is called a strike - How far the pitch was from the edge of the *real life* strike zone On TV, FoxTrax will show you where the pitch went relative to the rulebook strike zone, but it won't…

What it does

In the maker’s words, at launch

@MajorLeagueUmp or @[TeamNickname]Ump You're watching a baseball game. The pitcher throws a pitch right down the middle of the plate, but the umpire calls it a ball. Was it really a bad call or did you just have a bad angle. @MajorLeagueUmp or @[TeamNickname]Ump tweets bad ball and strike calls in realtime and includes: - A picture of the pitch location - Percentage of the time a pitch in that location is called a strike - How far the pitch was from the edge of the *real life* strike zone On TV, FoxTrax will show you where the pitch went relative to the rulebook strike zone, but it won't tell you if pitches in that location are typically called strikes. I found this frustrating because any baseball fan knows that the real strike zone is different than the rule book zone. To find the actual zone I: 1. Downloaded Pitch F/X data from the last four years. 2. Built a fine-grain heat-map of called-strike percentages. 3. Applied some gaussian filters. 4. Converted the heat-map into perimeters (inside this line it is a strike 78% of the time, etc). Polar coordinates finally turned out to be good for something. The tweets are updated by: 1. Nodejs server on heroku that monitors Pitch F/X data in real-time. 2. Each pitch is stored in Firebase. 3. Compare the pitches to the actual zone from above. 4. If the call was really bad, generate an SVG and tweet. I've been researching the strike zone on and off for the last 5 years. At first, I wanted to answer two questions. 1. Where are balls and strikes actually called? 2. How consistent are umpires in making those calls? Some quick answers: 1. They widen the plate a tad. 2. They really round off the corners. The strike zone is closer to a circle than a square. 3. Left handed hitters face a much larger strike zone that extends well off the outside of the plate. 4. They are actually pretty consistent, but not perfect.

Does the same job

all alternatives →
  • Gameball2015 · ▲91

    A real-time gaming experience for baseball fans.

  • ChatterBall2019 · ▲70

    Watch the game together

  • Sweep2018 · ▲162

    Sports gaming bot making it ☔ Amazon gift cards

  • RosterBot2014 · ▲88

    Free sports team scheduling, rostering, payments and more.

  • Tweet Bombs2019 · ▲78

    Make fake Adam Schefter "Tweet Bombs" to drop breaking news

  • Big Mike22d ago · bigmike.ai · ▲203

    Your favorite uncle who knows sports & bets, on iMessage

More life & fun this month

the category →
  • TL

    Life & fun · 10d ago · louisabraham.github.io

  • Photosynthesis fires two of your iPhone

    Life & fun · 28d ago · photosynthesis.camera

  • SoloUno310

    Take control of hair pulling, nail biting & skin picking

    Life & fun · 28d ago · solouno.io

  • Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.

    Life & fun · 26d ago · everycube.alen.is

  • The Interactive 3D Encyclopedia

    Life & fun · 21d ago · expeditione.fun

  • Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…

    Life & fun · 27d ago · baselashraf81.github.io

Launched alongside, September 2014

the whole month →
  • The most personal device Apple has ever created

    Life & fun · 2014

  • Peter Thiel's new book on Startups

    Life & fun · 2014

  • ReadMe604

    Beautiful Documentation Made Easy

    Life & fun · 2014

  • Airtable566

    Realtime spreadsheet-database hybrid

    Work · 2014

  • Forest532

    Put down your phone and stay focused. Or a tree will die. 🌳😵

    Life & fun · 2014

  • Spectacle459

    Move and resize windows with ease on Mac.

    Life & fun · 2014