Embedding Three.js in Quarto
A minimal example of rendering an animated Three.js scene inside a Quarto page.
This example embeds a small Three.js scene directly in a Quarto document. The renderer uses the page container’s dimensions, while a request-animation-frame loop rotates a mesh and redraws the scene.