Open tekken2028 opened 1 year ago
Okay, I'll see what I can do. Maybe I'll try to use such monsters as the GSAP library or something similar. Expect results within a day
Fully reworked the animation. Now it doesn't look so shameful :) The mouse cursor leaves a trace not from simple identical circles, but from a random size of stars. 1% of random stars are brighter than the rest, and another 15% of random ones give off a slight glow of purple-blue. In the coming days I will add a couple of final minor improvements
Completed. Features used:
JS code and CSS styles are posted here: https://github.com/KyojuHashira/traileffect
P. S. if there are suggestions for improvement, welcome! :)
Much better now, but my GPU load is almost 60% while drawing and effect has lags. Also, if I zoom in to 200-250%, I can see the stars clearly. However, at the default zoom level, it's something unrecognizable, imho
Handling the challenge
Partially completed. Now, drawing loads my GTX 1650 only for 1-3%, whereas before, it was 30-35%. Changes made:
However, fade-out is still GPU intensive. I'll optimize it a bit later
Good, doesn't seem to be lagging now. It will be great to use generated stars as an additional source for randomized results.
Good, doesn't seem to be lagging now. It will be great to use generated stars as an additional source for randomized results.
Sounds like a great idea! Will definitely implement it in the new version.
The idea of the project is not bad, but your project needs a polished, beautiful site to evoke the atmosphere of magic. I noticed that the purple trail from the mouse cursor in the area of the round widget looks lousy. You need to rework or remove it.