Wykres commitów

7 Commity (7412f7f775baeec8017e482862097898652dfba4)

Autor SHA1 Wiadomość Data
Atul Varma 520ea6aff4
Add basic support for nesting. (#30)
This adds basic support for nesting (#17).  It does not swap fill/stroke colors based on the position of the nesting box, though. It also only nests a symbol in the eye creature and "bonkers" complexity setting for now--support for nesting in complexity levels 1-4 is forthcoming.

The nested symbol is essentially uniformly scaled as much as possible without extending outside the boundaries of its parent's nesting box.
2021-02-25 21:57:10 -05:00
Atul Varma 291c9d60fa Factor out svg-symbol.tsx, visible-specs.tsx. 2021-02-15 09:56:02 -05:00
Atul Varma 6d911e1654 Use js-bezier's BBox struct and functions. 2021-02-14 07:44:52 -05:00
Atul Varma a135b6930b Add checkbox toggle to show specs. 2021-02-13 21:13:04 -05:00
Atul Varma f70cdbad8d Extract attachment points and nesting boxes. 2021-02-13 20:47:28 -05:00
Atul Varma 81a1e32b0f Split up paths w/ multiple shapes into multiple shapes. 2021-02-13 19:40:20 -05:00
Atul Varma 27cbf37209 Detect bounding boxes of symbols and crop to them. 2021-02-13 09:02:25 -05:00