luminism library

Luminism: surfaces lit by one shared light that drifts and follows the phone's tilt.

Two materials share the light:

Wrap your app in a LuminismLight so everything shares one light.

Classes

LuminismLight
Lights every LuminSurface and PrismBendSurface below it with one light source.
LuminismLightController
The position of the light that every Luminism surface shares.
LuminSurface
A surface that glows from within, brightest toward the light, and casts its own color instead of a grey shadow. Part of the Luminism style.
LuminSwitch
A switch in the Luminism style: when on, the track and knob glow in color and cast it around them.
PrismBendSurface
A calm, clear surface whose edge splits the light into a soft spectrum on the side facing the light. Part of the Prism-bend style.
PrismBendSwitch
A switch in the Prism-bend style: when on, the track fills with a spectrum that turns to face the light.