site final hack
This commit is contained in:
+1
-1
@@ -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
@@ -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 = " ";
|
||||
|
||||
Reference in New Issue
Block a user