| Author | Dave Jarvis <email> |
|---|---|
| Date | 2014-09-18 10:54:32 GMT-0700 |
| Commit | 46138e27faed6d2b434e06cd6a970e34cc97f537 |
| Parent | 4938034 |
| </xsl:variable> | ||
| + <!-- | ||
| + | Prevent similar adjacent colours. | ||
| + | http://math.stackexchange.com/a/936767/7932 | ||
| + +--> | ||
| + <xsl:variable name="tw" select="$wedges" /> | ||
| + <xsl:variable name="w" | ||
| + select="(((($wedge+1) mod 2) * ($tw div 2) + $wedge) mod $tw) + 1"/> | ||
| + | ||
| <!-- lch_l, lch_c, and lch_h are now set; rotate the hue. --> | ||
| - <xsl:variable name="lch_wedge_h" select="(360.0 div $wedges) * $wedge"/> | ||
| + <xsl:variable name="lch_wedge_h" select="(360.0 div $wedges) * $w"/> | ||
| <!-- |
| Delta | 9 lines added, 1 line removed, 8-line increase |
|---|