Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onGLC(glc) {
- glc.loop();
- glc.size(540, 540);
- glc.setDuration(2);
- glc.setFPS(30);
- glc.styles.backgroundColor = "#202020";
- // glc.setMode('single');
- // glc.setEasing(false);
- var list = glc.renderList,
- width = glc.w,
- height = glc.h,
- color = glc.color
- num = 15,
- sz = 30;
- for (var i=0; i<num; i++) {
- var y = height-75-(height-250)/num*i;
- var c = 0+45.0/num*i;
- list.addIsobox({
- x: width/2,
- y: y,
- size: [25+i*10,20+i*2],
- h: [100,20+i*1],
- colorTop: color.hsva(c, 1, 1,.5),
- colorRight: color.hsva(c, 1, 0.75,.5),
- colorLeft: color.hsva(c, 1, 0.5,.5),
- phase: i/num,
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement