Calculate Distance of Light Source with Voltage Changes of Analog Input with LDR

If you know the real size of the source (not a given, requires knowledge) then you have some idea of distance?

It's not as good as triangulating but if you triangulate two pinholes to know distance then you can estimate size.