I'm wondering how to use those "(noun-y) -ing clauses" when they are at the end of the sentence. Most grammar references I've found on the internet only talk about their use as adverbials at the beginning of a sentence. For example:
1) Wanting more money, he accepted the offer.
But I've seen many times people put them at the end of sentences:
2) He issued an attack on her at the company, describing her as an amateurish programmer.
3) She ran all the way to the playground, her friends following.
In these last two examples above, the -ing clauses don't look like adverbials to me. They can be paraphrased as separate sentences. I feel like, because they are related, instead of writing two separate sentences, the writer combines them together.
Grammatically, what are those types of -ing clauses called? And when is it appropriate to use them?