Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onGLC(glc) {
- glc.loop();
- // glc.playOnce();
- glc.size(540, 540);
- glc.setDuration(3);
- glc.setFPS(30);
- glc.styles.backgroundColor = "rgba(255,255,255,.2)";
- // glc.setMode("single");
- // glc.setEasing(false);
- var list = glc.renderList,
- width = glc.w,
- height = glc.h,
- color = glc.color;
- // your code goes here:
- var num = 8;
- for (var i=0; i<num; i++) {
- list.addCircle({
- x: width/2,
- y: height/2,
- radius: 230/num*i,
- fill: false,
- stroke: true,
- lineWidth: 1,
- shake:[0,10],
- phase: 1.0/num*i
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement