Wykres commitów

9 Commity (d6303dfa6ff817fbe9ab0b67ce125ca86ac8d03c)

Autor SHA1 Wiadomość Data
mittimithai d6303dfa6f
Small bug in color generation fixed (#120) 2021-05-18 18:30:54 -04:00
mittimithai 7edef5920f
Multiple color functions (#119)
Based on spec from meeting. Start at a random hue h1, functions specify increment to h2 and then h3 is (h1+180).
2021-05-15 06:41:11 -04:00
mittimithai 7003daeebf
Baseline color rules working (#111)
Made the new rule the default, but its now easy to play with to adjust the exact color rule we are using. This new one pick 3 values (with a bit of randomness), picks a random hue (then picks 2 more with a small chance of taking the opposite hue), and picks a saturation level that tends to be high.
2021-04-30 07:15:38 -04:00
Atul Varma 949d8d72dd
Allow user to choose from multiple palette algorithms. (#97)
Fixes #95.
2021-04-17 07:33:27 -04:00
mittimithai bdc96e8c5a
introduced Interval in random.ts (#91)
This adds a new `Random.inInterval()` method and uses it.
2021-04-13 15:41:47 -04:00
mittimithai 296397c4ae
color sampling fixes (#88)
Fix random color sampling to be more awesome.
2021-04-11 14:51:27 -04:00
Atul Varma db7d186234
Run prettier during CI. (#85)
Fixes #83.
2021-04-07 19:39:55 -04:00
mittimithai 558fa0aa6a
random colors now being sampled from hsluv (#80)
This samples colors from the HSLUV color space instead of the RGB color space, which should result in better randomized colors.
2021-04-06 20:33:08 -04:00
Atul Varma 2c53e5caab
Add a 'randomize colors' button to mandala and creature pages. (#68)
The random colors are currently terrible!  Maneesh will help us make them better. :)

Also, there is some annoying code duplication going on here between the creature and mandala pages, but I really wanted to add the button to both and also want to eat dinner soon, so I am filing #67 and saving the refactoring for later.
2021-03-30 20:59:45 -04:00