Answer the question
In order to leave comments, you need to log in
Is it possible to add a form, fields, buttons to the page with three js?
I add input type='text' to body via appendChild, but the field is not available. Is it even possible to add normally working form, input, button on a page with three js?
Answer the question
In order to leave comments, you need to log in
three.js doesn't work with the DOM (elements on the page) at all, it only renders on the Canvas.
If you need buttons/fields, etc., you can add them on top of the canvas with position:absolute
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question