On days like July 4th, we celebrate with fireworks. Be it at home or in public. But most don't think about the software behind the elaborate dance.