# Crochet Webapp
> Design crochet pattern digitally

Quit drawing charts on paper or moving stitch by stitch around in a drawing program!
With this program designing a pattern will have never been easier.


## Getting started

This project is an angular app with a python flask backend and using postgres db.

#### With Docker

```shell
cd CrochetWebapp/
docker-compose up
```

Open http://localhost:4200/ to access the webapp.

Tested on Ubuntu 16.04

#### Without Docker (only the frontend)

Without docker you can also just run the angular app which is enough for running the pattern designer.

```shell
cd CrochetWebapp/frontend
npm install
npm start
```

Open http://localhost:4200/patterns/design to directly access the pattern designer.

Tested on Windows 10 and Ubuntu 16.04

## Features

Current main functionalities:
* Create pattern one by one
* Switch from 2D to 3D
* Choose stitch type
* Start with a 'Magic Ring' or several chain stitches
* Switch between 'Increase Stitch' and 'Decrease Stitch' modes
* Use 'make big' button to try to untangle the layout and the 'make small' to go back to the original node distances
* Click current stitch to add next stitch
* Save and load patterns (with and without fixed positions)
* Use pictures for Magic Ring and Chain Stitches (gets slow on big graph)
