User:TehPerson/GoMoveTimeline

A Pokémon GO move's timing, drawn to a common scale so every move's bar can be compared at a glance. The grey frame is the longest the move's kind gets; inside it, the colored bar is the move's duration, marked off in half seconds or turns, and the dark band is the damage window. The duration comes first: any part of the window that falls after it is drawn as an empty box with a dark border. Used by User:TehPerson/GoChargedAttack and User:TehPerson/GoFastAttack.

  • duration: the move's length, in seconds or turns.
  • start, end: the damage window. Leave both out when there is none (Trainer Battles); a window of zero length (0 - 0) draws no band.
  • type: the move's type, for the colors.
  • max: the frame's length (default 5: Solar Beam, the longest Charged Attack). A longer move widens the frame.
  • width: the frame's width in pixels (default 200).
  • step: the distance between marks (default 0.5), and every: which marks are drawn longer (default 2, every whole second).

Nothing is drawn when a value is missing or not a number, or when the move needs more than 16 marks. The box around it prints the values.

Use max step every
Charged Attack, Gyms and Raids 5 0.5 2
Fast Attack, Gyms and Raids 2.5 0.5 2
Fast Attack, Trainer Battles 5 1 1

The last two share a scale: a turn is half a second.

Test

Move Timeline
Solar Beam (5, 2.8–4.8)
Dark Pulse (3, 1.4–2.3)
Upper Hand (2, 2.3–3.1)
Return (0.5, 0–0.15)
Dive (3.3, 0–0)
A 6-second move
Vine Whip (0.5, 0.25–0.5)
Leafage (0.5, 0.2–0.7)
Vine Whip, 2 turns
Missing values