Wykres commitów

6 Commity (7412f7f775baeec8017e482862097898652dfba4)

Autor SHA1 Wiadomość Data
Atul Varma 8151663860
Add 'always include this symbol' dropdown. (#115)
Fixes #36.
2021-05-12 21:55:18 -04:00
Atul Varma d73116509c
Move SVG vocabulary from JSON to TS. (#59)
Ugh, we need to write out a TypeScript file instead of importing the JSON directly because otherwise the TS compiler will spend an inordinate amount of time doing type inference, which massively slows down type-checking (especially in IDEs and such).

The TS file actually uses `JSON.parse` on a stringified version of the JSON instead of just inlining the JSON itself because [apparently it's much faster][1].

[1]: https://www.bram.us/2019/11/25/faster-javascript-apps-with-json-parse/
2021-03-27 16:00:20 -04:00
Atul Varma 51f68656ad Factor out vocabulary.ts. 2021-03-27 08:29:42 -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 291c9d60fa Factor out svg-symbol.tsx, visible-specs.tsx. 2021-02-15 09:56:02 -05:00
Atul Varma 972cecb056 Factor out svg-vocabulary.ts, increase symbol padding. 2021-02-15 08:33:33 -05:00