Commit Graph

25 Commits

Author SHA1 Message Date
25a029e69b Refactor to be more object-oriented, move to separate modules 2022-01-06 14:50:13 -05:00
ff58e60a95 Move js into subfolder for namespacing 2022-01-04 17:39:21 -05:00
ce9b34b62f Add and apply prettierrc 2022-01-03 13:15:22 -05:00
4ce42c929b Create a Card class to avoid re-opening members
This has a fairly significant performance improvement
2022-01-03 13:14:59 -05:00
8cf31f4272 Make back image from first card in deck 2022-01-01 22:22:51 -05:00
82fa427305 Restore the default copy count to 1 2022-01-01 22:12:47 -05:00
b121beff5a Add a button to clear the cache 2022-01-01 22:12:47 -05:00
40050580f4 Add settings dialog for image format and resolution 2022-01-01 22:12:47 -05:00
2e68593b30 Move alert() to a Thread.invokeLater, as it is not in the main thread 2021-10-10 10:17:09 -04:00
82345b92bb Temporarily set the face URLs to the locally exported image files 2021-09-30 16:29:59 -04:00
70017044c0 Use back image as hidden 2021-09-30 16:16:53 -04:00
49cd5e7fc6 Provide feedback via a busy window 2021-09-30 03:00:32 -04:00
416d39eb58 Split decks with >69 cards into multiple images, enforce 7 row max
Both due to Tabletop Simulator requirements
2021-09-30 02:49:02 -04:00
750a36b1d3 Cache card face images to disk 2021-09-30 01:30:23 -04:00
73ef5d97fb Use arrow functions where appropriate 2021-09-30 01:30:05 -04:00
859b9822c5 Move deck creation into a function 2021-09-30 01:30:05 -04:00
b4ab2e0c85 Move TTS JSON functions to a separate module 2021-09-30 00:37:55 -04:00
e7f411d5e2 Use the copies file to determine how many of each card to make
Currently hardcoded to use a default of 2 per card, should be a
setting at some point
2021-09-18 01:26:15 -04:00
30f321b3d8 Fix hardcoded output image filename extension 2021-09-18 01:24:53 -04:00
72d42d0d92 Print exception in card failure alert 2021-09-18 00:33:22 -04:00
4c049a5e9e Remove unused java.io.File import
It is already included in the `project` library
2021-09-18 00:33:11 -04:00
a9cea646fe Draw cards onto a single deck image, instead of repeatedly stitching
This should be somewhat faster/more memory efficient
2021-09-18 00:33:11 -04:00
7a1dd2245d Add call to testProjectScript() for easier development 2021-09-17 17:04:17 -04:00
a80d929f95 Also export a JSON for a TTS Saved Object 2021-09-16 17:12:28 -04:00
eb60775a7b Initial Commit
Just basic deck image creation working
2021-09-16 17:12:28 -04:00