The invention discloses a variable spraying method for a plane polygon. According to the variable spraying method for the plane polygon, geometric analysis is carried out on an irregular polygon, theirregular polygon is divided into the combination of a triangle and n trapezoids or the combination of n trapezoids, a quantitative spraying area and a variable spraying area are planned, and an optimal spraying track is generated; a quantitative spraying method is adopted for most of the trapezoid regions, a trapezoid scroll number required by variable spraying is obtained according to the widthof the triangle, and the triangular part is digested by adopting the variable spraying method; and the diameter of the spraying pattern is calculated in real time in the variable spraying process, andthe electrostatic voltage of a spinning cup, the rotating speed of the spinning cup, the distance between the spinning cup and the workpiece, the moving speed of the spinning cup and other variable spraying parameters are reversely pushed out through the diameter of the spraying pattern and the expected beat number. According to the variable spraying method for the plane polygon, the trajectory planning time of early-stage spraying can be shortened, the trajectory planning problem of the complex polygon can be simplified, thus the waste of the coating can be reduced, and the economic benefitis improved; and meanwhile, the discharge amount of the paint to the spraying room can be reduced, and the pollution degree of the workshop can be reduced.