Giter Site home page Giter Site logo

Comments (3)

axelpale avatar axelpale commented on June 14, 2024

Thanks for the feedback! Could you point out the location in the docs? Because, I can only find this and for me it seems to be okay.

The method getMatrix should return an object:

{
    a: ...
    b: ...
    c: ...
    d: ...
    e: ...
    f: ...
}

However, the variables s and r are somewhat misleading, because they are intended to not represent scaling and rotation, but s = lambda * cos(theta) and r = lambda * sin(theta) instead. What do you think, is this the one that might confuse the reader?

from nudged.

mkutny avatar mkutny commented on June 14, 2024

Hi Akseli,

I was talking about this part but actually it rephrases that piece you mentioned in your previous comment.

You're right, I confused s and r for scaling and rotation.

I'm sure use of expanded expression would make it more obvious. Moreover I'd write s * cos(theta) instead of lambda * cos(theta) as former notation is quite widespread (take for example the second answer from this forum).

from nudged.

axelpale avatar axelpale commented on June 14, 2024

Thanks for the clarification. I think you are right, the part should be documented better. I will look into it.

The symbols s and r are used throughout in the source and also in the thesis that led to the development of nudged. Although s and r are easily confused with scaling and rotation, I need to keep these three pieces of work consistent. Nevertheless, the docs should be improved to make it more clear.

Thank you. Let me know if you have any problems or questions regarding the lib and its use.

from nudged.

Related Issues (19)

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.