geometry routines by Paul Bourke

physics applets by Falstad

LOR template (if I sent you here) .