Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose a color pallete for pitch types #77

Open
kruser opened this issue Apr 23, 2014 · 1 comment
Open

Choose a color pallete for pitch types #77

kruser opened this issue Apr 23, 2014 · 1 comment

Comments

@kruser
Copy link
Owner

kruser commented Apr 23, 2014

We'd like to have the same colors describe the same pitch types always, across all pitchers. So, we need a color value assigned to each one of these.

  • FA: fastball
  • FF: 4-seam
  • FT: 2-seam
  • FC: cutter
  • FS: splitter
  • FO: forkball
  • SI: sinker
  • SL: slider
  • CU: curve
  • KC: knuckle curve
  • EP: ephuus
  • CH: change
  • SC: screwball
  • KN: knuckleball
  • UN: Unknown

Care should be taken to match like pitches with similar colors. Also, I'd prefer fast pitches migrate towards hot colors while changeups/slow pitches migrate towards cool colors.

And apply those values to this chart.
image

FYI: our bootstrap theme and colors can be found here: http://bootswatch.com/cerulean/

@albertlyu
Copy link
Contributor

Here's how I would classify each of these pitch types into 'pitch groups':

Fastballs

  • FF: 4-seam
  • FT: 2-seam
  • SI: sinker
  • FC: cutter
  • FA: fastball

Breaking Balls

  • SL: slider
  • CU: curve
  • FO: forkball
  • KC: knuckle curve

Offspeed Pitches

  • FS: splitter
  • SC: screwball
  • CH: change

Junk Pitches

  • KN: knuckleball
  • EP: ephuus

Unknown

  • UN: Unknown

I tried to order them in order of pitch speed, though obviously some pitch types will be closer together within their groups as others. So each pitch group can have more distinctive palettes from other pitch groups, while within each pitch group, you can apply a gradient within a color palette.

We can hand-choose these colors for now, but I'd imagine eventually, we'll want to introduce pitch speed, horizontal movement, and vertical movement into a new chart somewhere to show how well a specific pitcher's pitch types cluster together. (For example, Kershaw and Cliff Lee: http://www.fangraphs.com/pitchfxg.aspx?playerid=2036&position=P&season=2013&date=0&dh=0 http://www.fangraphs.com/pitchfxg.aspx?playerid=1636&position=P&season=2013&date=0&dh=0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants