Class: Shell

Shell

new Shell(opt_options=)

Creates a new Shell.
Parameters:
Name Type Argument Default Description
opt_options= Object <optional>
A map of initial properties.
opt_options.itemWidth number <optional>
0 Item width.
opt_options.itemHeight number <optional>
0 Item height.
opt_options.minFunnelWidth number <optional>
5 Minium width of the shell base.
opt_options.opacity number <optional>
0 shell opacity.
opt_options.blur number <optional>
350 shell blur. Recommended values bw 300 - 400.
opt_options.spread number <optional>
250 shell spread. Recommended values bw 200 - 300.
opt_options.easing string <optional>
'easeInExpo' An easing function to determine shell shape along the spine. See Easing docs for possible values.
opt_options.colorMin number <optional>
50 Minimum color. Valid values bw 0 - 255.
opt_options.colorMax number <optional>
255 Maximum color. Valid values bw 0 - 255.
Source: