I don't have an extension specifically for this, no.
If you cannot find an extension that does what you want, you could try to write the PHP code yourself for this, and optionally embed that code in the article (or other content) you want using Sourcerer.