This viewer allows to visualize photometric data files written in IES format (.ies) and EULUMDAT format (.ldt). A photometric data file describes the intensity distribution (in candela) of the light source. The IESNA LM-63 (.ies) is the format prevalent in the United States of America. The specification is availbale : here. Version 2002 is supported. It should work for version 1995 too. The specifications for the EULUMDAT format are here. Various resources:
This three.js viewer was inspired by http://stemkoski.github.io/Three.js/ by Lee Stemkoski. The javascript code for the IES and LDT loader was adapted from here