Grid generator for Electron Beam Lithography to cause chain scission or cross-linking of MMA / PMMA (Polymethylmethacrylate) depending on the gradation curve of the e-beam resist and electron dose absorbed by the e-beam resist to mask the substrate for corrosive etching.