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.5);
- glc.setFPS(30);
- // glc.setMode('single');
- // glc.setEasing(false);
- var list = glc.renderList,
- width = glc.w,
- height = glc.h,
- color = glc.color;
- for (var i=0; i<3; i++) {
- var endX = width/2 + Math.sin(360/4*i)*150;
- var y = height/2 - i*25;
- var endY = y + Math.cos(360/4*i)*150;
- var c = 30 + 100/3*i;
- list.addIsobox({
- x: [width / 2, endX],
- y: [y, endY],
- size: [100,150],
- h: 20,
- colorTop: color.hsv(c, 1, 1),
- colorRight: color.hsv(c, 1, 0.75),
- colorLeft: color.hsv(c, 1, 0.5)
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement