Wykres commitów

207 Commity (63b73e40c316cd81f933c39e390da5793c284acc)

Autor SHA1 Wiadomość Data
Nina Paley 33e9b37df5
Add files via upload 2021-02-17 20:05:04 -06:00
Nina Paley 0dae4477ee
Add files via upload 2021-02-17 19:56:32 -06:00
Nina Paley d65366c0fc
Add files via upload 2021-02-17 19:37:54 -06:00
Nina Paley f5f57abdde
Add files via upload 2021-02-17 19:26:23 -06:00
Nina Paley 80bb14ae19
Add files via upload 2021-02-17 18:51:17 -06:00
Nina Paley 72299b2a67
Add files via upload 2021-02-17 15:37:01 -06:00
Nina Paley 939be841ee
Add files via upload 2021-02-17 15:24:11 -06:00
Nina Paley 42a739f0dc
Add files via upload 2021-02-17 15:17:37 -06:00
Nina Paley b70af1bdf3
Add files via upload 2021-02-17 15:09:48 -06:00
Nina Paley aa80116174
Add files via upload 2021-02-17 14:53:10 -06:00
Nina Paley 47917a7dc8
Add files via upload 2021-02-17 14:46:05 -06:00
Nina Paley 72cd3a5c1d
Add files via upload 2021-02-17 14:37:51 -06:00
Nina Paley 9589e6b1d0
Add files via upload 2021-02-17 12:58:30 -06:00
Atul Varma f79214dfbb Work around unsupported transform-origin on Safari. 2021-02-17 12:37:24 -05:00
Atul Varma 4a083ffa40 Attempt to deploy on push to main branch. 2021-02-17 11:29:33 -05:00
Atul Varma cc7ccfeab5 Update SVGs. 2021-02-17 11:15:13 -05:00
Atul Varma 3d04bdcd82 Group 'Export SVG' button with other buttons. 2021-02-17 09:14:06 -05:00
Atul Varma 68f5339e5f Add 'Export SVG' button. 2021-02-17 08:46:30 -05:00
Atul Varma 9d47ddf1b2 Add reset button. 2021-02-17 08:10:20 -05:00
Atul Varma b81f11fe76 Factor out SymbolContextWidget, use it on creature page. 2021-02-17 08:07:04 -05:00
Atul Varma 93225e9b6c Add more docs to readme, link to github repo in website. 2021-02-17 07:41:26 -05:00
Atul Varma 216b152466 Update SVGs. 2021-02-17 07:33:23 -05:00
Atul Varma 75c68bb1fb Use uniform, non-scaling-stroke. 2021-02-17 07:29:56 -05:00
Atul Varma f64c600825 Factor out <AutoSizingSvg>. 2021-02-16 20:54:05 -05:00
Atul Varma 6502d09177 Auto-resize SVG as needed. 2021-02-16 20:47:12 -05:00
Atul Varma 10341598ea Randomly replace creature parts. 2021-02-16 17:42:19 -05:00
Atul Varma 7db7c74516 Add left/right booleans to CreatureSymbolProps. 2021-02-16 17:11:41 -05:00
Atul Varma b2c073fa7c Factor out AttachmentTransform component. 2021-02-16 16:43:47 -05:00
Atul Varma 95800b880c Add copy-svgs-from-dropbox.sh. 2021-02-16 16:21:17 -05:00
Atul Varma a22c72567d Update SVGs. 2021-02-16 16:20:35 -05:00
Atul Varma d663915f0e
Make creature strokes non-scaling. (#6)
This attempts to manually scale the strokes on creatures so they aren't affected by scale.

The weird thing here is that applying `vector-effect="non-scaling-stroke"` does not appear to do the trick--rather, it makes all the strokes look _super heavy_.  So in this PR we scale the stroke by the inverse of whatever we're cumulatively scaling by when we're drawing something.
2021-02-16 13:36:14 -05:00
Atul Varma 2b27ae02a4
Fix math-related bugs in attachment code. (#5)
This fixes a bunch of bugs in our attachment-related code, and in so doing refactors things to make more sense, adds more tests, and also adds documentation.
2021-02-16 11:52:52 -05:00
Atul Varma 9ac1243249 Oops, fix type error. 2021-02-16 07:17:40 -05:00
Atul Varma aa87e3b77e Sort attachment points top to bottom, left to right. 2021-02-16 07:04:16 -05:00
Atul Varma cbf57f7fef Add more tests. 2021-02-16 06:49:45 -05:00
Atul Varma 428a21d6df
Explicitly run tests on main branch. (#4)
Having a few issues running the tests when pushing directly to `main`, so maybe this will help.
2021-02-16 06:40:48 -05:00
Atul Varma 3b660958c5 Build project before testing. 2021-02-16 06:37:29 -05:00
Atul Varma b443bd476a Add test running to readme. 2021-02-16 06:30:02 -05:00
Atul Varma 53f610dbd6 Add github action. 2021-02-16 06:25:40 -05:00
Atul Varma 6dfa738548 Add test suite. 2021-02-16 06:21:51 -05:00
Atul Varma 5f237b52bb Add legs. 2021-02-15 22:51:35 -05:00
Atul Varma 93e972256c Add 'show specs' checkbox on creature page. 2021-02-15 22:36:18 -05:00
Atul Varma a44c43a04e Make spec slightly transparent. 2021-02-15 20:34:49 -05:00
Atul Varma baf1f379b8 Add more stuff to creature. 2021-02-15 20:20:41 -05:00
Atul Varma b3402a2992 Take into account rotation of tail/anchor point. 2021-02-15 20:12:14 -05:00
Atul Varma f1207e5d9d Add basic rotations, fix z-indexing. 2021-02-15 19:28:03 -05:00
Atul Varma 31fcbeaf89 Adjust scaling and such. 2021-02-15 17:22:59 -05:00
Atul Varma de57971921 Remove random part TODOs for now. 2021-02-15 17:20:05 -05:00
Atul Varma 3e225a09be Factor out CreatureContext and CreatureSymbol. 2021-02-15 17:19:07 -05:00
Atul Varma 61697d4552 Put hand on eye. 2021-02-15 16:40:47 -05:00