home
about
usage
settings
Settings
"Pave" is highly customizable. Each setting has a default value and can be ignored. Don't be afraid of making mistakes, because all incorrect values are automatically replaced with correct ones. Below is a complete list of settings.
Dimensions
BRICK_SIZE
Size of a single brick.
Min value is 10. Default value is 100.
BRICK_SPACING
Spacing between bricks.
Min value is 0. Default value is 6.
CAMERA_ANGLE
Angle between brick surface and camera optical axis. Measured in degrees.
Min value is 20. Max value is 90. Default value is 30.
Mouse settings
MOUSE_IMPACT_FACTOR
Mouse impact on bricks.
Default value is BRICK_SIZE/2.
MOUSE_IMPACT_RADIUS
Size of a mouse impact zone.
Min value is BRICK_SIZE. Default value is maximum of 200 and BRICK_SIZE.
Brick color settings
BRICK_COLOR
Brick color. More precisely, it's a color of brick's upper side without shadow.
Default value is "rgb(249, 250, 251)".
BRICK_COLOR_RANDOMIZATION
Brick color randomization within HSL color space.
Min value is 0. Max value is 1. Default value is 0.
BRICK_COLOR_HUE_RANDOMIZATION
Randomization of brick color hue.
Min value is 0. Max value is 1. Default value is 1.
BRICK_COLOR_SATURATION_RANDOMIZATION
Randomization of brick color saturation.
Min value is 0. Max value is 1. Default value is 1.
BRICK_COLOR_LIGHTNESS_RANDOMIZATION
Randomization of brick color lightness.
Min value is 0. Max value is 1. Default value is 1.
BRICK_COLOR_HUE_OFFSET
Offset of brick color hue value.
Default value is 0.
BRICK_COLOR_SATURATION_OFFSET
Offset of brick color saturation value.
Default value is 0.
BRICK_COLOR_LIGHTNESS_OFFSET
Offset of brick color lightness value.
Default value is 0.
Shadow settings
SHADOW_COLOR_HUE_OFFSET
Offset of brick shadow hue value.
Default value is 0.
SHADOW_COLOR_SATURATION_OFFSET
Offset of brick shadow saturation value.
Default value is 0.
SHADOW_COLOR_LIGHTNESS_OFFSET
Offset of brick shadow lightness value.
Default value is 0.
SHADOW_CONTRAST
Number that defines darkness of shadows.
Min value is 0. Max value is 1. Default value is 0.5.
USE_MOVING_SHADOW
Determines whether to render moving shadow on brick upper side. Allowable values: true and false.
Default value is true.
MOVING_SHADOW_SIZE_RATIO
Multiplier of moving shadow width. For example, changing the value from 1 to 2 makes the shadow twice as wide.
Min value is 0. Default value is 3.
Brick swinging settings
SWING_TYPE
Brick swinging type. Allowable values: "sine", "pulse" and "linear".
Default value is "sine".
SWING_DISTRIBUTION
Determines how swinging of the whole background looks like. Allowable values: "random" and "wave".
Default value is "random".
SWING_AMPLITUDE
Amplitude of brick swinging.
Default value is 6.
SWING_FREQUENCY
Frequency of brick swinging.
Min value is 0. Default value depends on SWING_DISTRIBUTION.
SWING_FREQUENCY_RANDOMIZATION
Randomization of swing frequency. Value of 0 means that all bricks have the same frequency.
Min value is 0. Default value is 0.
SWING_WAVE_DIRECTION
Direction of wave motion. It only makes sense when SWING_DISTRIBUTION is "wave".
Allowable values: "left", "right", "bottom", "top", "bottom-right", "bottom-left", "top-right" and "top-left".
Default value is "bottom-right".
SWING_WAVE_LENGTH
Size of a wave. It only makes sense when SWING_DISTRIBUTION is "wave". Measured in bricks.
Min value is 2. Default value is 15.
Brick releasing settings
BRICK_RELEASE_TYPE
Type of brick release. Allowable values: "normal", "elastic" and "bounce".
Default value is "normal".
BRICK_RELEASE_TIME
Duration of brick release in seconds.
Min value is 0. Default value is 1.5.
BRICK_RELEASE_NORMAL_CURVE
Motion curve of "normal" release.
Min value is 0. Default value is 3.
BRICK_RELEASE_ELASTIC_CURVE
Envelope curve of "elastic" release.
Min value is 1. Default value is 4.
BRICK_RELEASE_ELASTIC_FREQUENCY
Frequency of "elastic" release.
Min value is 1. Default value is 11.
BRICK_RELEASE_BOUNCE_CURVE
Envelope curve of "bounce" release.
Min value is 0. Max value is 1. Default value is 0.25.
BRICK_RELEASE_BOUNCE_FREQUENCY
Frequency of "bounce" release.
Min value is 1. Default value is 5.