Wykres commitów

2 Commity (f49fa7170d089091ebb3af29e57517d02881e972)

Autor SHA1 Wiadomość Data
Atul Varma 7fc210f671
Add randomizer widget. (#87)
This replaces the "randomize colors" and "randomize" buttons on the creature and mandala pages with a single randomizer widget that allows the user to choose whether they want to randomize the colors, symbols, or both.

By default, both colors and symbols are randomized.

Note that this is really only a temporary solution, though: ideally we'll want to provide a more powerful UI that allows users to mark _any_ parameter for randomization, e.g. via "pinning" values or somesuch.
2021-04-08 20:13:54 -04:00
Atul Varma e48b5f9bae
Factor out a SvgCompositionContext. (#72)
This fixes #67 by making the background color selection/randomization code more DRY via the addition of a new `SvgCompositionContext` and a `CompositionContextWidget`.

It also documents the `SvgSymbolContext` type, and moves the "randomize colors" button closer to the actual colors.
2021-04-02 16:33:07 -04:00