A method for adaptively fabricating a waveguide comprises: measuring
misplacement of a photonic device relative to a substrate; generating
computer readable instructions for using a plurality of graphics
primitives to form the waveguide; and photocomposing the waveguide on the
substrate in accordance with the computer readable instructions. A
reticle comprises a plurality of graphics primitives with at least one of
the plurality of graphics primitives comprising a tapered end. A
waveguide comprises a plurality of waveguide segments with each of the
plurality of waveguide segments comprising a tapered end and being
adjacent to at least one other of the plurality of waveguide segments.