semvec/pypi-packages huggingface dataset:
silhouette2wireframe 0.0.2
Convert silhouette image to wireframe distorted by Perlin noise
License: MIT License
Requires Python: >=3.6

[![Python Versions](https://img.shields.io/pypi/pyversions/silhouette2wireframe?style=plastic)](https://pypi.org/project/silhouette2wireframe/)
[![PyPI](https://img.shields.io/pypi/v/silhouette2wireframe?style=plastic)](https://pypi.org/project/silhouette2wireframe/)
[![License](https://img.shields.io/pypi/l/silhouette2wireframe?style=plastic)](https://opensource.org/licenses/MIT)

# silhouette2wireframe

## Convert silhouette image to wireframe distorted by Perlin noise
#

# Installation
```
pip install silhouette2wireframe
```


# Convert silhouette image to a wireframe

```
from silhouette2wireframe import ImageToWireframe

converter = ImageToWireframe("silhouette.png", size=(1080,1350))

colors = {"bg": "#000022", "top": "dodgerblue", "bottom": "white"} 
fig = converter.draw_frame(0, cdict=colors)
plt.show()
```

![](https://github.com/timpyrkov/silhouette2wireframe/blob/master/img/silhouette.png?raw=true)
![](https://github.com/timpyrkov/silhouette2wireframe/blob/master/img/arrow.png?raw=true)
![](https://github.com/timpyrkov/silhouette2wireframe/blob/master/img/wireframe.jpg?raw=true)