site final hack

This commit is contained in:
Medelean Rafael
2023-05-16 02:12:23 +03:00
parent f854037e85
commit 78125954ca
2 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ const grid = new controls3d.LandmarkGrid(landmarkContainer, {
numCellsPerAxis: 0,
showHidden: false,
centered: false,
isRotating: false,
isRotating: true,
connectionWidth: 6.5,
});
grid.axesMaterial.visible = false;
+19 -7
View File
@@ -59,10 +59,9 @@ function changeInHtml(data){
{
if(data.result == "okay" && inauntru == 0)
{
ourText = document.getElementById("p3").innerHTML;
utterThis.text = ourText
synth.speak(utterThis)
utterThis.text = ourText;
synth.speak(utterThis);
document.getElementById("p3").innerHTML = " ";
return;
@@ -71,12 +70,25 @@ function changeInHtml(data){
{
addBuffer("Together we can change the world!This is only the beginning!");
}
else
{
addBuffer(data.result);
}
}
if(inauntru == 1)
{
if(data.result == "greeting")
{
addBuffer("Describe");
}
if(data.result == "how")
{
addBuffer("Sign-language");
}
if(data.result == "goodbye")
{
addBuffer("Project");
document.getElementById("p3").innerHTML = " ";
document.getElementById("p3").innerHTML = "We are doing a project based on Sign-language recognition model which will innovate and open new ways to get stronger connections."
}
}
if(data.result == "custom1" && inauntru == 0)
{
document.getElementById("p3").innerHTML = " ";