A photonic chip. In some embodiments, the photonic chip includes a waveguide; and an optically active device comprising a portion of the waveguide. The waveguide may have a first end at a first edge of the photonic chip; and a second end, and the waveguide may have, everywhere between the first end and the second end, a rate of change of curvature having a magnitude not exceeding 2,000/mm