How to use "beam" in a sentence

Sentences

Slowly a dark shape rose out of the pit and a beam of light seemed to flash out from it.

They were described as, 'great machines like spiders, nearly thirty metres high, as fast as an express train, and able to shoot out a beam of strong heat.'