A photonic crystal device and method. The photonic crystal device comprises a substrate with at least one photonic crystal formed thereon by a charged-particle beam deposition method. Each photonic crystal comprises a plurality of spaced elements having a composition different from the substrate, and may further include one or more impurity elements substituted for spaced elements. Embodiments of the present invention may be provided as electromagnetic wave filters, polarizers, resonators, sources, mirrors, beam directors and antennas for use at wavelengths in the range from about 0.2 to 200 microns or longer. Additionally, photonic crystal devices may be provided with one or more electromagnetic waveguides adjacent to a photonic crystal for forming integrated electromagnetic circuits for use at optical, infrared, or millimeter-wave frequencies.