Go to file
heyarne 954aaf4b11 nix run nixpkgs#zprint -- '{:style :community}' -sw **/*.clj 2022-03-08 08:52:24 +01:00
dev nix run nixpkgs#zprint -- '{:style :community}' -sw **/*.clj 2022-03-08 08:52:24 +01:00
resources/public Allow removing and changing the amount of already added rects 2022-01-01 19:22:15 +01:00
src/heyarne/rect_packing Commit unstaged changes 2022-02-19 19:23:30 +01:00
.envrc Initial commit, basic web page with reagent component is working 2021-12-30 15:37:23 +01:00
.gitignore Commit unstaged changes 2022-02-19 19:23:30 +01:00
README.md Commit unstaged changes 2022-02-19 19:23:30 +01:00
deps.edn Commit unstaged changes 2022-02-19 19:23:30 +01:00
flake.lock Initial commit, basic web page with reagent component is working 2021-12-30 15:37:23 +01:00
flake.nix Update shadow-cljs 2022-03-06 16:15:31 +01:00
package-lock.json Update shadow-cljs 2022-03-06 16:15:31 +01:00
package.json Update shadow-cljs 2022-03-06 16:15:31 +01:00
shadow-cljs.edn Commit unstaged changes 2022-02-19 19:23:30 +01:00
shell.nix Update shadow-cljs 2022-03-06 16:15:31 +01:00

README.md

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:

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

npx shadow-cljs release :app

A 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