Wykres commitów

23 Commity (a5c4bd737bbd48ac40f4afcdcff6c2848068ee11)

Autor SHA1 Wiadomość Data
Atul Varma 8a54b62bdb
Move eye creature to a separate debug page. (#58)
Really the eye creature is only useful for me as a debugging tool, so this moves it over to a separate debug page.

It also removes the whole concept of randomizing the eye creature, mainly because it ignores all the rules set forth in the normal creature randomizer, so it's not terribly useful.

This simplifies the code for `creature-page.tsx` a bunch and hopefully makes it easier to understand.
2021-03-26 20:47:22 -04:00
Atul Varma f790838b06
Add a very basic Mandala page. (#57)
This adds an extremely simple Mandala page (for #24) with a single circle Mandala comprised of several eyes.  The symbol style is configurable, but parameters for the actual Mandala are not (yet).

Doing this also involved factoring out a `<SvgTransforms>` component, which makes setting up SVG transforms a bit easier.

Also moved `getSymbol` of `creature-page.tsx` and into `svg-vocabulary.tsx`, with the new name `getSvgSymbol`.
2021-03-26 18:07:01 -04: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 2384d1eac3 Add a placeholder creature page. 2021-02-15 08:34:22 -05:00
Atul Varma 046c940351 Add waves. 2021-02-14 16:39:10 -05:00
Atul Varma 0652aa19ea Add rudimentary about page. 2021-02-14 12:32:55 -05:00
Atul Varma f3beb8cdd9
Auto-detect direction of normals. (#2)
This auto-detects the direction of normals on which to attach attachments.

Right now it's getting very confused by corners, but otherwise it seems to mostly work.
2021-02-14 12:07:34 -05:00
Atul Varma 6d911e1654 Use js-bezier's BBox struct and functions. 2021-02-14 07:44:52 -05:00
Atul Varma 2b0d69bb87 Factor out getColor(). 2021-02-14 07:32:54 -05:00
Atul Varma a135b6930b Add checkbox toggle to show specs. 2021-02-13 21:13:04 -05:00
Atul Varma 56fd341daa Factor out colors.ts. 2021-02-13 19:24:46 -05:00
Atul Varma 27cbf37209 Detect bounding boxes of symbols and crop to them. 2021-02-13 09:02:25 -05:00
Atul Varma aa61f26c79 Rename to Mystic Symbolic. 2021-02-13 07:20:16 -05:00
Atul Varma ea1f42d810 Simplify stroke/fill logic. 2021-02-06 10:57:41 -05:00
Atul Varma b17f429ef8 Add checkerboard bg. 2021-02-06 08:11:20 -05:00
Atul Varma 1e3cbe73b1 Add support for shadows, bg color. 2021-02-06 08:02:18 -05:00
Atul Varma 5df222edea Process multiple children of <svg>, store SVG as struct. 2021-02-06 07:50:51 -05:00
Atul Varma 63f3c2be88 Use one paragraph for stroke and fill 2021-02-03 20:26:17 -05:00
Atul Varma 2d1fb67839 Change styling a bit. 2021-02-03 20:23:24 -05:00
Atul Varma 511ea2510b Make stroke/fill configurable. 2021-02-03 19:53:01 -05:00
Atul Varma db29a5af47 Factor out px(). 2021-02-03 19:39:48 -05:00
Atul Varma 7019199bd4 Show all symbols. 2021-02-03 19:36:29 -05:00
Atul Varma f0960d4280 use react. 2021-02-03 19:11:34 -05:00