Mechanically tunable photonic crystal structure | Synapse