Akshatchaube01 / TimeWarp

An opensource webapp that allows users to explore historical versions of their current location virtually. Using augmented reality and historical maps, users can see how their surroundings looked in different time periods and learn about the history of the area.
https://time-warp-two.vercel.app
MIT License
44 stars 69 forks source link

Added New "Cursor-Trail Effect" to The Website #363

Closed MastanSayyad closed 4 months ago

MastanSayyad commented 4 months ago

Hey @Akshatchaube01 issue closes #347

I have created and added a New "Cursor-Trail Effect" to The Website as the previous one was not working properly and was lagging so much.

Changes I made:

Screen Record

https://github.com/Akshatchaube01/TimeWarp/assets/101971980/32110b55-5d6e-4e52-a6a7-8c9179368c91

Please take a look and review it,

If possible please Increase the LEVEL Label as per the changed functionalities, Thank You!!

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
time-warp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2024 6:42am
Akshatchaube01 commented 4 months ago

It doesn't seem to work in the preview

MastanSayyad commented 4 months ago

@Akshatchaube01 It is working fine, Try merging it, if it didn't work in deployment then revert it back I'll make the changes!

https://github.com/Akshatchaube01/TimeWarp/assets/101971980/415486ae-6163-4d61-92fe-0bb14ffcf222

Akshatchaube01 commented 4 months ago

Okay, pull the recent changes and then I'll merge @MastanSayyad

MastanSayyad commented 4 months ago

@Akshatchaube01 done!

MastanSayyad commented 4 months ago

@Akshatchaube01 yeah its working but not synchronized with the cursor, I'll make the changes right away!!

MastanSayyad commented 4 months ago

The issue we're experiencing is likely due to the way we update the position of the circles in relation to the mouse coordinates. To ensure the circles follow the cursor correctly, I need to adjust the logic in animateCircles function. @Akshatchaube01