Coder Social home page Coder Social logo

Comments (4)

droplab avatar droplab commented on June 14, 2024 1

Hi @martinlaxenaire, thanks for the reply. I wanted to share this solution for future reference or in case you wanted to update your example.

After doing some additional testing we discovered the issue is that Safari is throwing too many mousemove events that seem to be interrupting rendering performance. Throttling the mouse events down to fall within 60fps or lower solves the issue.

Cheers!

from curtainsjs.

droplab avatar droplab commented on June 14, 2024

Hi @martinlaxenaire, this FEELS like a pointer event (x,y,delta etc...) normalization issue not necessarily an issue with the library or the shader itself. Perhaps the pointer event data coming in from Safari is either out of the expected range and/or is below a threshold.

Many thanks for the great work on this library!

from curtainsjs.

droplab avatar droplab commented on June 14, 2024

Related to

So it sounds like this may be due to Safari throttling mouse events internally... seems doubtful that there would be any external fix possible for this.

from curtainsjs.

martinlaxenaire avatar martinlaxenaire commented on June 14, 2024

Hey @droplab,

thanks for the detailed bug report, however as you've already noticed, this seems to be caused by how Safari handles mouse events and not the lib itself.

Cheers,

from curtainsjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.