Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var width = 520, height = 520;
- glc.init(width, height);
- glc.setFPS(45);
- glc.setDuration(2.5);
- glc.styles.backgroundColor = "black";
- glc.loop();
- var list = glc.renderList;
- var num = 50;
- for (var i=0; i<num; i++) {
- list.addBezierCurve({
- strokeStyle: "rgba(255, 255,255,.3)",
- lineWidth: 1,
- x0: 50+i*5,
- y0: [50,100],
- x1: 510,
- y1: 164,
- x2: 9,
- y2: 296,
- x3: [150,457],
- y3: 300+i*3,
- phase: 1.0/num*i
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement