Giter Club home page Giter Club logo

Comments (5)

desandro avatar desandro commented on May 10, 2024 2

Thanks for this feature request. Yeah, all the underlying angle geometry uses euler angles. I understand the benefit of quaternions and matrices, but I've never been able to wrap my head around them. For my purposes, they felt like overkill. That said, I'm willing to reconsider them if there's a killer feature I'm missing out on.

Add a 👍 reaction to this issue if you would like to see this feature added. Do not add +1 comments — They will be deleted.

from zdog.

mxfh avatar mxfh commented on May 10, 2024

Check the interactive side-by-side comparison in the "Interactive Rotations" paragraph, if you think its worth it:
https://www.jasondavies.com/maps/rotate/

Still have to fix my own (shame on me.), so I know it's intimidating looking, but in the end more natural behaving and even easier to grasp, once you switch the paradigm from euler angles. Did some WebGL and Transformation Matrix and Versor stuff in between then and now and versors are definitly worth it. Just wanted to point out that fils version even supports tweening on versors now. Have a long weekend ahead, so maybe I could even put something together.

from zdog.

jrus avatar jrus commented on May 10, 2024

You might enjoy reading http://marctenbosch.com/quaternions/

from zdog.

desandro avatar desandro commented on May 10, 2024

@jrus Yeah, Marc Ten Bosch's proposal a couple months back. Unfortunately, I'm not as well-versed in 3D graphic math so all the concepts flew over my head. A JavaScript-port of his concepts would be helpful for me.

from zdog.

Neon22 avatar Neon22 commented on May 10, 2024

Three.js has a quaternion implementation with sauce.

IIRC minimum you need is slerp to do the interpolation and setfromEuler to create one. (and their dependencies which will include normalise etc).

from zdog.

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.