Skip to content
This repository was archived by the owner on Sep 2, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (23 loc) · 724 Bytes

File metadata and controls

27 lines (23 loc) · 724 Bytes

CUBES

(Examples)

cubes(element, {
  columns: 25,
  rows: 25,
  color: 'rgba(28, 71, 123, 0.99)',
  speed: 50,
  transition: 2000,
  once:false,
  diagonal:true
});

Settings

Option Type Default Description
columns int 10 Amount of columns
rows int 10 Amount of rows
color string rgba(66, 134, 244, 1) Style for background-color of cubes
speed int 100 Speed of translate to next cube
transition int 1000 Style for transition of cubes in milliseconds
once boolean false Amount of work
diagonal boolean false true - transition to 8 sides, false - transition to 4 sides by plus