Abstract: In one embodiment, the invention is a method for generating geometric patterns from an image having a plurality of ridges and mesh points. The method comprising the steps of: establishing a mathematical model according to regional conditions in the image; converting the mathematical model into numerical equations; solving the numerical equations; and transferring the solutions of the numerical equations to respective regions of the image.