先根据行数计算列数:

\(column=length / (row + 2) + bool(length \mod (row + 2))\)

每一行必然有点的位置为:

\(i \mod (row - 1)\) 为 0