FBGs with arbitrary apodization and phase have been fabricated by constantly moving fibers with a highly precision air bearing translation stage while a CW UV laser beam is switched on/off by triggers with nanosecond accuracy.