The invention discloses a laser welding head dynamic track generation method based on a platform motion tangent angle, the swing track of a laser welding head rotates according to the current X-axis and Y-axis motion track tangent direction to form a laser welding head track with an angle following function, the laser welding head track at the moment realizes dynamic generation of track data, and the laser welding head track has the angle following function. The angle control data of the galvanometer needs to be recalculated periodically according to angle parameters. Under a two-dimensional coordinate system, a Bezier curve is used for representing the swing track of a laser welding head, original coordinate points and a geometric transformation matrix are multiplied through second-order matrix multiplication, new coordinate points after geometric mapping and a new curve calculated through angle following are obtained, discretization is carried out, and control data of a galvanometer motor are obtained. The laser welding head swing track with the angle following function can better adapt to the process requirements of various machining tracks, meanwhile, the output density of laser energy is more uniform, and the final welding effect is improved.