heyarne.rect-packing/README.md
2022-02-19 19:23:30 +01:00

27 lines
827 B
Markdown

# Rect-Packing
This folder contains a small project that aims to help in finding a good way to position individual cuttings on a frame. It is currently a work in progress.
## Dev environment
This project is built using `shadow-cljs`:
``` bash
npx shadow-cljs watch :app
```
Use `cider-connect-cljs` to connect to the REPL in emacs after opening http://localhost:8080 in your browser. Alternatively you can just call `cider-jack-in-cljs` and select the app build. :)
### Production Build
``` bash
npx shadow-cljs release :app
```
A [build report](https://shadow-cljs.github.io/docs/UsersGuide.html#build-report) will automatically be created and written to `resources/public/js/report.html`.
## Tentative Roadmap
- [ ] Warn when rects don't fit the given frame(s)
- [ ] Show coverage quote
- [ ] Allow multiple frames