Is it possible to use a
HTML as texture in a 3D object?
Lets say I have a tweet card like this:
That have been generated by a code like this (from tweet embed code, this is not the one for this particular tweet)
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Some new work <a href="https://twitter.com/ProcessingOrg?ref_src=twsrc%5Etfw">@ProcessingOrg</a> / <a href="https://twitter.com/processingjs?ref_src=twsrc%5Etfw">@processingjs</a> : "Dead Presidents - Generative Portraits", a project on <a href="https://twitter.com/Behance?ref_src=twsrc%5Etfw">@Behance</a> :: <a href="http://t.co/Y9P9OmYcx3">http://t.co/Y9P9OmYcx3</a></p>— Mike Brondbjerg (@mikebrondbjerg) <a href="https://twitter.com/mikebrondbjerg/status/391558387520921600?ref_src=twsrc%5Etfw">October 19, 2013</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
How could I use it as a texture in a 3D
box()? Can be done?
If not as HTML (with all links working) perhaps as an image?
Can I “render” programmatically an HTML page from inside a p5js sketch as an image?
Well as one can see, I’m not really sure where I’m going… Which is bad and good, as everything…
Any thoughts or ideas are welcome.