Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Dushyant Kumar

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Newbie

About Dushyant Kumar

  • Rank
    Newbie
  1. Hello sir ! My question is that can I use (https://cdnjs.cloudflare.com/ajax/libs/gsap/3.5.1/gsap.min.js) this only without any extra plugin as dependency for an open source (MIT) project I want to contribute is there any licensing issue
  2. Thankyou This work good window.addEventListener("mousemove", e => { // best Power4.out or sine.out gsap.to(dpkCursorMouse,{ duration:.10, x: e.x, y: e.y, ease:'sine.out', overwrite:true, }) });
  3. How Can I optimize This Sir const dpkCursor = document.querySelector(".dpkCursor"); gsap.set(dpkCursor, { xPercent: -50, yPercent: -50 }); let dpkCursorPos = { x: window.innerWidth / 2, y: window.innerHeight / 2 }; let dpkCursorMouse = { x: dpkCursorPos.x, y: dpkCursorPos.y }; window.addEventListener("mousemove", e => { // best Power4.out or sine.out gsap.to(dpkCursorMouse,{ duration:.25, x: e.x, y: e.y,
  4. I want Some Smoothness so i need some animation inside mousemove and for performance optimization i used ticker what is the best way to do so gsap.to(dpkCursorMouse,{ duration:.25, x: e.x, y: e.y, ease:'sine.out' })
  5. Yeh Sir i want to make it default whenever users scroll Plz Suggest some Optimization Thankyou so much for reply
  6. Hello Sir ! I want Some Optimization On my Custom Cursor Example and most importantly i want to remove .hover-active on scroll ( plz suggest some logic in the place where i comment in codepen ) in the best way as calling a function on scroll may create lag or jank
×