diff --git a/index.html b/index.html index 4a38a14..bf58009 100644 --- a/index.html +++ b/index.html @@ -1786,6 +1786,17 @@ function loadCodeFromPage(url="https://fabien.benetou.fr/Analysis/BeyondTheCaseA } ) } +let myTextField = null; // keep a global reference to read text later + +myTextField = document.createElement("input"); +myTextField.type = "text"; +document.body.appendChild(myTextField); +myTextField.addEventListener('input', inputTextHandler); + +function inputTextHandler( event){ + setHUD( event.target.value ) +} + // could change model opacity based on hand position, fading out when within a (very small here) safe space
@@ -1831,6 +1842,7 @@ function loadCodeFromPage(url="https://fabien.benetou.fr/Analysis/BeyondTheCaseA +