Atul Varma
f6c95f1ffb
Don't fill if showing specs on mandala.
2021-03-29 08:23:53 -04:00
Atul Varma
9aa0c6118f
Add a search field in vocabulary page.
2021-03-29 07:58:50 -04:00
Atul Varma
a917f40da9
Move page list to header for easier navigation.
2021-03-29 07:48:56 -04:00
Atul Varma
3090d9fd89
Add an 'Export PNG' button ( #63 )
...
This fixes #62 .
2021-03-29 07:22:09 -04:00
Atul Varma
85533fa111
Use an eye w/ radius 300 for default mandala.
2021-03-29 06:54:36 -04:00
Atul Varma
a70b4dfab3
Add a 'place behind first circle' checkbox.
2021-03-28 16:49:38 -04:00
Atul Varma
d45cb3fb5c
Add docs to AttachmentTransform.
2021-03-28 16:32:20 -04:00
Atul Varma
b70ec50e3a
Add symbol scaling/rotation options.
2021-03-28 16:22:36 -04:00
Atul Varma
05c44eeb51
Make scaling and rotation adjustable on both circles.
2021-03-28 09:14:54 -04:00
Atul Varma
a5c4bd737b
Put first mandala symbol at front of z-order.
2021-03-28 08:50:04 -04:00
Atul Varma
50eeb9a25b
Always have a symbol pointing up in mandala. Allow negative radius.
2021-03-28 08:48:36 -04:00
Atul Varma
d742f4156a
Add an optional second mandala circle ( #24 ).
2021-03-28 08:27:57 -04:00
Atul Varma
c76bcc2d5a
Factor out checkbox.tsx.
2021-03-28 07:38:32 -04:00
Atul Varma
131c1f31cb
Orient mandala symbols around their anchor point. ( #60 )
...
This orients the mandala symbols around their anchor point, rather than the center of their bounding box (#24 ).
2021-03-28 07:24:16 -04:00
Atul Varma
6fa6e0ba8a
Simplify getDownloadFilename().
2021-03-28 06:48:29 -04:00
Atul Varma
3f366c112a
Rename SvgTransforms to SvgTransform, allow it to take a single transform.
2021-03-28 06:39:06 -04:00
Nina Paley
1a5acd9e46
Delete shield.svg
...
I'm in a deleting mood.
2021-03-27 17:27:43 -05:00
Nina Paley
1e69d9e68a
Add files via upload
2021-03-27 17:16:07 -05:00
Nina Paley
392209e9cc
Delete M_logo.svg
...
Removing for now.
2021-03-27 17:00:07 -05:00
Nina Paley
d5df0e4125
Delete leg_eagle.svg
...
noping for now. May return later.
2021-03-27 16:50:29 -05:00
Nina Paley
de168a6eeb
Delete man_bottom.svg
...
Nixing for now. Will return once we have mated halves supported.
2021-03-27 16:48:38 -05:00
Nina Paley
2a6c00a238
Add files via upload
2021-03-27 16:45:42 -05: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
3095e5b16a
Add randomize button to mandala page.
2021-03-27 15:19:36 -04:00
Atul Varma
9ce2d8df80
Factor out NumericRange type, inclusiveRange().
2021-03-27 15:01:58 -04:00
Nina Paley
aa8fe2bc43
Add files via upload
...
modified arrows
2021-03-27 09:08:30 -05:00
Atul Varma
7cb4c3242d
get rid of ValidateDOMNesting warnings
2021-03-27 08:34:22 -04:00
Atul Varma
51f68656ad
Factor out vocabulary.ts.
2021-03-27 08:29:42 -04:00
Atul Varma
a19a560b8f
Auto-generate id attributes by default.
2021-03-27 08:11:07 -04:00
Atul Varma
4bd30bb2a5
Add SVG symbol widget picker to mandala page.
2021-03-27 08:04:40 -04:00
Atul Varma
249e5df219
Add more sliders, export svg btn to mandala page.
2021-03-27 07:39:21 -04:00
Atul Varma
fbca3b65ba
Factor out numeric-slider.tsx.
2021-03-27 07:24:15 -04:00
Atul Varma
c7d1092cda
Factor out ColorWidget component.
2021-03-27 07:14:42 -04:00
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
13907a7851
Use SvgTransforms in creature page.
2021-03-26 20:09:17 -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
Nina Paley
7d62a5b7f6
Add files via upload
2021-03-26 14:32:46 -05:00
Nina Paley
b245509230
Add files via upload
2021-03-26 14:15:57 -05:00
Nina Paley
963408a975
Add files via upload
...
introduced spiderweb
2021-03-26 14:12:14 -05:00
Nina Paley
4c57025239
Add files via upload
...
adjusted yellow arrows on drape
2021-03-25 11:17:10 -05:00
Nina Paley
3fa7f4b686
Add files via upload
...
flipped one yellow arrow
2021-03-25 11:15:41 -05:00
Nina Paley
9863bb2337
Add files via upload
...
introduced M_logo
2021-03-25 09:54:47 -05:00
Nina Paley
eb78790cd6
Delete eye_side.svg
...
nope.
2021-03-24 19:01:37 -05:00
Nina Paley
f4e9277125
Delete woman_kneel.toml
...
nope.
2021-03-24 19:00:34 -05:00
Nina Paley
d5655212c5
Delete woman_kneel.svg
...
nope.
2021-03-24 19:00:18 -05:00
Nina Paley
33da930005
Delete intercourse.svg
...
no likey
2021-03-24 18:59:35 -05:00
Nina Paley
b3d3c224ee
Add files via upload
2021-03-24 18:27:46 -05:00
Nina Paley
b289139da7
Add files via upload
2021-03-23 22:01:58 -05:00
Nina Paley
f69adb4e10
Add files via upload
2021-03-23 21:48:07 -05:00
Nina Paley
31e65246d6
Add files via upload
...
introduced projection
2021-03-23 21:42:03 -05:00