Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



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




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: