# create-mechanic

## Create Mechanic projects.

With NPM:

`$ npm init mechanic@latest`

## Use templates

```
# npm 6.x
npm init mechanic@latest my-project --template p5-video
```

```
# npm 7+, extra double-dash is needed:
npm init mechanic@latest my-project -- --template p5-video
```

Current templates:

- `svg-image`
- `svg-video`
- `canvas-image`
- `canvas-video`
- `p5-image`
- `p5-video`
- `react-image`
- `react-video`

## Use examples

```
# npm 6.x
npm init mechanic@latest my-project --example poster-generator
```

```
# npm 7+, extra double-dash is needed:
npm init mechanic@latest my-project -- --example poster-generator
```

Current examples:

- `business-card-generator`
- `instagram-story-generator`
- `poster-generator`
- More coming soon!
