Companion

The sizes and colours the drawing uses.

Functions

Link copied to clipboard
fun stressColor(amount: Float): Color

Returns the colour of a stress of amount: -1 or less is fully squeezed (blue), 0 at rest (grey), 1 or more fully stretched (red).