openrndr / org.openrndr.color / ColorATVa

ColorATVa

data class ColorATVa (source)

Constructors

<init>

ColorATVa(id: Int, t: Double, v: Double, alpha: Double = 1.0)

Properties

alpha

val alpha: Double

id

val id: Int

t

val t: Double

v

val v: Double

Functions

toColorYxya

fun toColorYxya(): ColorYxya

toRGBa

fun toRGBa(): ColorRGBa

Companion Object Functions

maxT

fun maxT(id: Int, v: Double): Double