1
0

Save point: Text updated, all type speed halved, WHERE DO YOU FIT IN? moved up 3 lines

This commit is contained in:
avi
2026-05-09 21:39:20 -05:00
parent 0c5d119bb0
commit 699a68aaea

View File

@@ -171,7 +171,7 @@
#scene3FitInText { #scene3FitInText {
position: absolute; position: absolute;
bottom: 42%; bottom: 48%;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
font-size: 1.2rem; font-size: 1.2rem;
@@ -618,8 +618,8 @@
elem.textContent += text[i]; elem.textContent += text[i];
i++; i++;
const progress = i / total; const progress = i / total;
const dMin = minDelay || 70; const dMin = minDelay || 35;
const dMax = maxDelay || 130; const dMax = maxDelay || 65;
const delay = dMin + progress * progress * (dMax - dMin); const delay = dMin + progress * progress * (dMax - dMin);
setTimeout(typeChar, delay); setTimeout(typeChar, delay);
} }
@@ -765,7 +765,7 @@
rl1.style.display = 'flex'; rl1.style.display = 'flex';
blinkCursor(cursor, 3, () => { blinkCursor(cursor, 3, () => {
typeCalmly(rt1, "THE LAB IS CONNECTING WITH PEOPLE WHO SEE WHAT'S HAPPENING WHO KNOW CHANGE ISN'T OPTIONAL ANYMORE. WE'RE LOOKING FOR THOSE READY TO STEP IN AND SHAPE THE FUTURE.", () => { typeCalmly(rt1, "THE LAB IS CONNECTING WITH PEOPLE WHO SEE WHAT'S HAPPENINGG - WHO KNOW CHANGE ISN'T OPTIONAL. WE'RE LOOKING FOR THOSE READY TO STEP IN AND SHAPE THE FUTURE", () => {
setTimeout(() => { setTimeout(() => {
choiceBtns.forEach(btn => { choiceBtns.forEach(btn => {
btn.style.display = 'block'; btn.style.display = 'block';
@@ -796,7 +796,7 @@
}, 30); }, 30);
}, 500); }, 500);
}, 3000); }, 3000);
}, 20, 50); }, 10, 25);
}); });
}, 2000); }, 2000);
}); });
@@ -872,7 +872,7 @@
rCursor.style.display = 'none'; rCursor.style.display = 'none';
recruitLines.style.display = 'flex'; recruitLines.style.display = 'flex';
rl1.style.display = 'flex'; rl1.style.display = 'flex';
rt1.textContent = "THE LAB IS CONNECTING WITH PEOPLE WHO SEE WHAT'S HAPPENING WHO KNOW CHANGE ISN'T OPTIONAL ANYMORE. WE'RE LOOKING FOR THOSE READY TO STEP IN AND SHAPE THE FUTURE."; rt1.textContent = "THE LAB IS CONNECTING WITH PEOPLE WHO SEE WHAT'S HAPPENINGG - WHO KNOW CHANGE ISN'T OPTIONAL. WE'RE LOOKING FOR THOSE READY TO STEP IN AND SHAPE THE FUTURE";
[creatorBtn, builderBtn, developerBtn].forEach(btn => { [creatorBtn, builderBtn, developerBtn].forEach(btn => {
btn.style.display = 'block'; btn.style.display = 'block';
btn.style.visibility = 'visible'; btn.style.visibility = 'visible';