diff --git a/index.html b/index.html index b6446de..7939727 100644 --- a/index.html +++ b/index.html @@ -13,8 +13,7 @@ ThIzH WiCk - - + -
-
X
-
+ + + + +
+
X
+
-

Greetings! I am a passionate and dedicated software - engineering undergraduate at the prestigious Open University of Sri Lanka. My journey into the world of - technology and programming has been a thrilling adventure.



+

Greetings! I am a passionate and dedicated software + engineering undergraduate at the prestigious Open University of Sri Lanka. My journey into the world of + technology and programming has been a thrilling adventure.



-

As a student with a relentless curiosity and a hunger for knowledge, I've immersed - myself in the ever-evolving field of programming. Through my academic pursuits and personal projects, - I've honed my skills and embraced the art of problem-solving. My journey is fueled by a desire to create - innovative solutions and to explore the limitless possibilities of code.



+

As a student with a relentless curiosity and a hunger for knowledge, I've immersed + myself in the ever-evolving field of programming. Through my academic pursuits and personal projects, + I've honed my skills and embraced the art of problem-solving. My journey is fueled by a desire to create + innovative solutions and to explore the limitless possibilities of code.



-

My commitment to excellence is reflected in my dedication to mastering various - programming languages, software development methodologies, and emerging technologies. I relish the - challenges that programming presents and thrive in the pursuit of elegant, efficient, and creative - solutions.



-
+

My commitment to excellence is reflected in my dedication to mastering various + programming languages, software development methodologies, and emerging technologies. I relish the + challenges that programming presents and thrive in the pursuit of elegant, efficient, and creative + solutions.



-
- +
+
+ -
- -
-
-

Thisitha Wickramaarachchi

-

AKA Thizh Wick

-
- - -
+
+ +
+
+

Thisitha Wickramaarachchi

+

AKA Thizh Wick

+
+ +
-
-
-
-
- - - - +
+
+
+
+
+ + + +
-
-
-
-
-
-
-
+
+ + - - - - - - - + + + + - + \ No newline at end of file diff --git a/script.js b/script.js index 87f6070..433eb68 100644 --- a/script.js +++ b/script.js @@ -1,18 +1,13 @@ -window.addEventListener("mousemove", function (e) { - var to_append = document.getElementsByClassName('loader-container')[0]; - var all = document.getElementsByClassName('loader-container'); - - var parent_div = document.createElement('div'); - parent_div.className = "loader-container"; - var inner_div = document.createElement('div'); - inner_div.className = "loader"; - parent_div.appendChild(inner_div) - var d = document.body.appendChild(parent_div); - - parent_div.style.left = (e.clientX - 50)+'px'; - parent_div.style.top = (e.clientY - 50)+'px'; - - if(document.getElementsByClassName('loader-container').length > 50) { - document.body.removeChild(to_append) - } +window['webgl-fluid'].default(document.querySelector('canvas')); +document.querySelector('.wrapper') + .addEventListener('mousemove', event => { + console.log('move'); + newEvent = new event.constructor( + event.type, event); + document.querySelector('canvas') + .dispatchEvent(newEvent); +}); +document.querySelector('button') + .addEventListener('click', event => { + console.log('button clicked'); }); diff --git a/styles/mouse2.css b/styles/mouse2.css new file mode 100644 index 0000000..cef3c64 --- /dev/null +++ b/styles/mouse2.css @@ -0,0 +1,14 @@ +body { + position: relative; + z-index: -999; +} + +canvas { + width: 100%; + height: 100%; + position: fixed; + inset: 0; + z-index: -1; + background-color: black; + opacity: 0.50; +} \ No newline at end of file