/simplehand

A simple 3D hand visualization in Matplotlib

Primary LanguageJupyter NotebookMIT LicenseMIT

Simple Hand

I wanted a simple 3D hand model to visualize hand movements in python without the need for external models or software, so I built this. It simply plots a wireframe hand in matplotlib and allows you to set the flexion of each finger.

SimpleHand:

hand moving

SuperSimpleHand:

hand moving

Plot a hand:

import matplotlib.pyplot as plt
from simplehand import SimpleHand

hand = SimpleHand()
hand.set_flex(th=0, idx=0, mid=0.5, ri=0.4, pi=0.3)
hand.draw()

plt.show()

Installation:

pip install simplehand