Git Product home page Git Product logo

transforms3d's Introduction

Transforms3d

Code to convert between various geometric transformations.

  • Composing rotations / zooms / shears / translations into affine matrix;
  • Decomposing affine matrix into rotations / zooms / shears / translations;
  • Conversions between different representations of rotations, including:
    • 3x3 Rotation matrices;
    • Euler angles;
    • quaternions.

We have tried to document the algorithms carefully and write clear code in the hope that this code can be a teaching reference. We document the math behind some of the algorithms using sympy in transforms3d/derivations. We would be very pleased if y'all would like to add your own algorithms and derivations - please get a copy of the code from https://github.com/matthew-brett/transforms3d and get on down, algorithmically. Feel free to use the github issue tracker and pull request system to ask for advice and support.

Documentation

Documentation for latest released version at http://matthew-brett.github.io/transforms3d

Code

See https://github.com/matthew-brett/transforms3d

Released under the BSD two-clause license - see the file LICENSE in the source distribution.

Much of the code comes from transformations.py by Christoph Gohlke, also released under the BSD license.

We use Github actions to test the code automatically under Pythons 3.7 through 3.10.

We depend on numpy >= 1.15. You may be able to make it work on an earlier numpy if you really needed that.

The latest released version is at https://pypi.python.org/pypi/transforms3d

Support

Please put up issues on the transforms3d issue tracker.

transforms3d's People

Contributors

matthew-brett avatar maximelemonnier-leddartech avatar jiayuan-gu avatar fsund avatar hugovk avatar tirkarthi avatar

Watchers

James Cloos avatar

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.