make4all / meta-embroidery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metamaterial Embroidery

This library is used to generate metamaterial embroidered lace objects.

Installation

Set up your virtual environment

python3 -m venv venv source venv/bin/activate

Install necessary packages

pip3 install -r requirements.txt

If you want to set our code up as a library

python3 setup.py bdist_wheel pip3 install dist/metamaterial_generator-0.1.0-py3-none-any.whl

Run the demos

You can run one at a time python3 demos/heart_test.py

Or you can run them all at once: python3 setup.py pytest

Run the interface for the first time

cd interface nodeenv -p yarn add parcel npx parcel build index.html npx parcel index.html

At that point it should be running at http://localhost:1234

Documentation

Output files will show up in output.py and be labeled with the width and height of the zigzags and the current date.

Your original code can be found in: original_test.py

About


Languages

Language:Python 100.0%