mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
smooth the warm damping so switching artwork does not flash
This commit is contained in:
@@ -60,11 +60,9 @@ class ArtworkColorsTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
fun warmArtworkLiftsPlayerSurfaceToTheBrightGradientTone() {
|
||||
fun warmArtworkKeepsThePlayerSurfaceDark() {
|
||||
val warm = artworkColorsFromSeed(0xFFE6C822.toInt())
|
||||
val cool = artworkColorsFromSeed(0xFF3A7BD5.toInt())
|
||||
assertEquals(warm.gradientHigh, playerSurfaceColor(warm))
|
||||
assertTrue(playerSurfaceColor(cool) != cool.gradientHigh)
|
||||
assertTrue(playerSurfaceColor(warm).luminance() < 0.1f)
|
||||
}
|
||||
|
||||
private fun contrast(
|
||||
|
||||
Reference in New Issue
Block a user