Text this: An approach for one dimensional periodic arbitrary lithography based on Fourier series