Skip to content

Commit

Permalink
js drawing too heavy :(
Browse files Browse the repository at this point in the history
  • Loading branch information
iguannalin committed Oct 22, 2023
1 parent bebf40b commit d119678
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
3 changes: 0 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,6 @@ <h2 class="heading">East Coast</h2>
<tr><td>you can find my <a href="public/resume.pdf">resume here</a></td></tr>
<tr><td>you can find a <a id="oops" href="#">photo of me here</a></td></tr>
<tr><td><a href="https://github.com/iguannalin">github</a>, <a href="https://www.instagram.com/iguannalin/reels/">instagram</a>, <a href="https://twitter.com/iguannalin">twitter</a></td></tr>
<tr><td><a href="https://webring.xxiivv.com/annaylin" target="_blank" rel="noopener">
<img src="https://webring.xxiivv.com/icon.black.svg" alt="XXIIVV webring" width="24px"/>
</a></td></tr>
</tbody>
</table>
</div>
Expand Down
14 changes: 7 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ window.addEventListener("load", () => {
button.addEventListener("click", switchFilmView);
});

document.body.addEventListener("mousemove", (e) => {
const dot = document.createElement("dot");
dot.style.left = `${e.x}px`;
dot.style.top = `${e.y}px`;
dot.innerText = '.';
document.body.appendChild(dot);
});
// document.body.addEventListener("mousemove", (e) => {
// const dot = document.createElement("dot");
// dot.style.left = `${e.x}px`;
// dot.style.top = `${e.y}px`;
// dot.innerText = '.';
// document.body.appendChild(dot);
// });

document.body.addEventListener("touchmove", (e) => {
if (getComputedStyle(center).display == "none") {
Expand Down

0 comments on commit d119678

Please sign in to comment.