a method to generate random and density controllable dot patterns on an optical device includes steps of dividing a 2d domain into multiple cell units ; determining dot density in each cell ; creating at random initial location of dots in each cell ; solving the force operation cut radius of the dot ; setting up a residual force ; solving the force control parameter in the cell ; performing the force operation for the cell ; making the dots in the cell to achieve balanced positions after repeated operation ; completing the generation of a dot pattern within a 2d domain ; and transferring the dot pattern to the optical device by a transfer printing equipment .