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.setMode('single');
- // glc.setEasing(false);
- var list = glc.renderList,
- width = glc.w,
- height = glc.h,
- color = glc.color
- num = 12,
- sz = 30;
- for (var i=0; i<num; i++) {
- var y = height-75-(height-150)/num*i;
- var c = 90/num*i;
- list.addIsobox({
- x: width/2,
- y: y,
- size: [50,10],
- h: [30,6],
- colorTop: color.hsv(c, 1, 1),
- colorRight: color.hsv(c, 1, 0.75),
- colorLeft: color.hsv(c, 1, 0.5),
- phase: -1/num*i,
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement