Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onGLC(glc) {
- glc.loop();
- // glc.size(400, 400);
- glc.setDuration(3);
- glc.setFPS(15);
- // glc.setMode("single");
- // glc.setEasing(false);
- glc.setMaxColors(7);
- glc.styles.backgroundColor = "white";
- var list = glc.renderList,
- width = glc.w,
- height = glc.h,
- color = glc.color;
- var circ;
- for(var i=0;i<90;i++) {
- circ = list.addCircle({
- lineWidth: 2,
- stroke: true,
- strokeStyle: "black",
- fillStyle:color.rgba(255,0,255,0.1),
- parent:circ,
- radius: 180,
- x:circ? 2*i : width/2,
- y:circ? 0 : width/2,
- rotation:[53,50]
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment