Update 1.js
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ document.addEventListener('scroll', () => {
|
||||
const windowHeight = window.innerHeight;
|
||||
const totalHeight = document.body.scrollHeight;
|
||||
|
||||
const scrollPercent = scrollPosition*3.5 / (totalHeight - windowHeight);
|
||||
const scrollPercent = scrollPosition*4.5 / (totalHeight - windowHeight);
|
||||
|
||||
words.forEach((word, index) => {
|
||||
const wordOffset = index / words.length;
|
||||
|
||||
Reference in New Issue
Block a user