Advertisement
xeromino

hypno

Feb 14th, 2016
460
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function onGLC(glc) {
  2.     glc.loop();
  3.     glc.size(540, 540);
  4.     glc.setDuration(2);
  5.     glc.setFPS(30);
  6. //     glc.setMode('single');
  7. //    glc.setEasing(false);
  8.     glc.styles.backgroundColor = "black";
  9.        
  10.     var list = glc.renderList,
  11.         width = glc.w,
  12.         height = glc.h,
  13.         color = glc.color;
  14.  
  15.     // your code goes here:
  16.  
  17.     for (var i=0; i<30; i++) {
  18.         list.addCircle({
  19.             x: width/2,
  20.             y: [height*.25,height*.3],
  21.             radius: 20*i,
  22.             fill: false,
  23.             lineWidth: [5,12],
  24.             stroke: true,
  25.             strokeStyle: "beige",
  26.             phase: .05*i
  27.         });
  28.     }      
  29. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement