Remix.run Logo
tempworkac 3 days ago

Could you explain more on:

> The 2D content is overlaid on the WebGL view using CSS 3D transforms for a seamless integration with the 3D view.

Maybe a simple example of this with code?

guigui 3 days ago | parent [-]

We use the CSS3DRenderer from Three.js which automatically applies CSS transforms to DOM elements.

More info here: https://threejs.org/docs/index.html?q=css3D#examples/en/rend...

And some code samples from the Three.js website: https://threejs.org/examples/?q=CSS3D#css3d_periodictable https://threejs.org/examples/?q=CSS3D#css3d_molecules