Advertisement
bit101

151129 glc

Nov 29th, 2015
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. function onGLC(glc) {
  2. glc.loop();
  3. var list = glc.renderList,
  4. width = glc.w,
  5. height = glc.h,
  6. color = glc.color;
  7.  
  8. for(var i = 190; i > 20; i -= 5) {
  9. list.addOval({
  10. x: width / 2,
  11. y: [height / 2 + 40, height / 2 - 40],
  12. rx: i,
  13. ry: i / 2,
  14. startAngle: [40, 400],
  15. endAngle: [360, 720],
  16. shake: 3,
  17. stroke: true,
  18. fill: false,
  19. lineWidth: 0.5,
  20. phase: i / 390,
  21. rotation: [-30, 30]
  22. }),
  23.  
  24. list.addOval({
  25. x: width / 2,
  26. y: [height / 2 + 20, height / 2 - 80],
  27. rx: [10, 6],
  28. ry: [8, 10]
  29. })
  30. }
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement