Wykres commitów

10 Commity (main)

Autor SHA1 Wiadomość Data
Atul Varma e4b401f97f
Add a 'creature_frequency_multiplier' TOML property. (#207)
Fixes #191.

Currently the implementation is fairly naive, in that a really large value for `creature_frequency_multiplier` will not be handled terribly efficiently, but we can optimize later if needed.
2021-07-17 14:39:19 -04:00
Atul Varma 9a80ead5b7
Add never_flip_attachments to TOML metadata. (#203)
This adds a new `never_flip_attachments` property to TOML metadata, as discussed in #184, and sets it to `true` for the `face_nest` symbol.
2021-07-05 19:35:39 -04:00
mittimithai 303bc6b543
randHue color algorithm (#194)
Added new color algo, cleaned up random-colors a bit.
2021-07-03 09:34:30 -04:00
Atul Varma 7af19de6c0
Actually check TSX files with Prettier. (#159)
This makes us actually check TSX files with Prettier (until now we were only checking TS files).

It also re-runs Prettier, although apparently it fixes something in a TS file that was raising a warning, which I find very odd--since TS files were already being checked, I'm not sure how we didn't have a broken build...
2021-06-08 12:40:41 -04:00
Corinna Cohn 54be581005
feature(mandala): add rotation syntax to toml and mandala animation (#103)
This adds a "rotate_clockwise" property to the TOML metadata, which allows the default direction of rotation to be changed on a per-symbol basis.

Co-authored-by: Corinna Cohn <corinna.cohn@gmail.com>
2021-04-22 20:53:18 -04:00
Atul Varma 612195e2f2
Add attach_to metadata. (#52)
This fixes #49 by implementing the `attach_to` metadata property.
2021-03-18 19:32:05 -04:00
Atul Varma ecf98deedb Add support for invert_nested (#17). 2021-03-05 19:38:25 -05:00
Atul Varma b1b0176e4a Add support for never_be_nested metadata. 2021-02-28 19:10:53 -05:00
Atul Varma c62214186b Only log warnings for unrecognized metadata properties. 2021-02-28 18:57:51 -05:00
Atul Varma 3e1b66a984
Add support for TOML symbol metadata. (#33)
This fixes #20 by adding support for TOML-based metadata for symbols.

There's now a template TOML file in `svg/_template.toml` that documents all the different metadata properties.  The file can be copied to match the name of an SVG file (but with a `.toml` extension) and it will be processed by the vocabulary builder when the site is generated.

Currently there are only two properties documented, `always_nest` and `always_be_nested` (as per the needs outlined in https://github.com/toolness/mystic-symbolic/issues/17#issuecomment-786696966), but they don't actually do anything yet (actual support for _using_ the metadata will come in another file).

Right now the TOML files are validated quite stringently: if a file contains the name of a property it doesn't understand, or the type of the property is wrong, it will raise an error. We can revisit this if it becomes burdensome.
2021-02-26 21:30:38 -05:00