Hi folks sorry if quite active today although just arrived but just because of that I am trying to learn Astro as best as I can. I wanted to ask, what is the best way to render a threejs canvas as the background of a site (that is also responsive). What I have done now is to create myself a react component, manage ThreeJS there and then set it as background via css since I have not been able to switch html children to react-three/drei. Although it apparently works I would like to know if there is a cleaner solution other than this. Thanks!
#Use React + ThreeJS as background
2 messages · Page 1 of 1 (latest)