xl library
A package that provides the XL
widget to implement accelerometer and/or
pointer and touch fueled parallax animations that smoothly transform
their children according to a spatial, three-dimensional
parallax layer definition.
- The
XL
Stack can generate fluidly movingLayer
s comprised of other widgets whose positions and rotations correlate to either a pointer data or sensors data.- This distinction is made by
XLayer
vsPLayer
- Whether the input methods cross-mingle is controlled by flag
- This distinction is made by
XL.sharesPointer // default is true
XL.sharesSensors // default is false
Classes
- AcceleraxLayer
-
A
Layer
in anXL
. These by themselves are notWidget
s. - Compensation
-
A small abstract class with
static
constantList<double>
s that refer to specific device orientations according to sensor data subtractions/compensations. - Dragging
-
A parameter class that pertains to
PLayer
s and their parallax animation during an active drag or pointer hover event. - Normalization
-
A parameter class for customizing the intake of
SensorEvent
data. - ParallaxLayer
-
A
Layer
in anXL
. These by themselves are notWidget
s. - ParallaxStack
-
A
Widget
that allows the definition of a stack ofXLayer
s and/orPLayer
s and that will intrinsically animate them with a parallax effect based on sensor events (X
) or pointer data (P
). - PLayer
-
A
Layer
in anXL
. These by themselves are notWidget
s. - ReferencePosition
-
A simple wrapper for the
x
&y
values of theXL
's reference position as doubles between0..1
. - XL
-
A
Widget
that allows the definition of a stack ofXLayer
s and/orPLayer
s and that will intrinsically animate them with a parallax effect based on sensor events (X
) or pointer data (P
). - XLayer
-
A
Layer
in anXL
. These by themselves are notWidget
s.