Metadata-Version: 2.4
Name: dq3d
Version: 0.3.8
Summary: Dual Quaternion for 3d transformation
Home-page: https://github.com/neka-nat/dq3d
Author: neka-nat
Author-email: nekanat.stock@gmail.com
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pybind11>=2.2
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

# dq3d
[![PyPI version](https://badge.fury.io/py/dq3d.svg)](https://badge.fury.io/py/dq3d)
[![Build Status](https://travis-ci.org/neka-nat/dq3d.svg?branch=master)](https://travis-ci.org/neka-nat/dq3d)
[![Build status](https://ci.appveyor.com/api/projects/status/g6hg095ldg78wb81?svg=true)](https://ci.appveyor.com/project/neka-nat/dq3d)
[![Downloads](https://pepy.tech/badge/dq3d)](https://pepy.tech/project/dq3d)

Dual quaternion for 3d geometric operations.

## Installation
Running `pip install transformations dq3d` should work. 

### macOS
On macOS, if you get an error `ld: library not found for -lstdc++` do the following. Go to `/Library/Developer/CommandLineTools/Packages/` and install the package `macOS_SDK_headers_for_macOS_10.14.pkg`. They try installing again.

## examples

### Skinning
This example is a demonstration of skinning with Dual quaternion Linear Blending.

![skinning](https://raw.githubusercontent.com/neka-nat/dq3d/master/images/skinning.gif)

### Sclerp
This example is a demonstration that interpolates between two randomly generated dual quaternions with ScLerp.

![sclerp](https://raw.githubusercontent.com/neka-nat/dq3d/master/images/sclerp.gif)

## References
* [Skinning with Dual Quaternions](https://www.cs.utah.edu/~ladislav/dq/index.html)
