邓先森

鼠标单击爆炸特效
首先是js eval(function(p, a, c, k, e, d) { e = function(...
扫描右侧二维码阅读全文
06
2018/08

鼠标单击爆炸特效

首先是js

eval(function(p, a, c, k, e, d) {
    e = function(c) {
        return (c < a ? "": e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36))
    };
    if (!''.replace(/^/, String)) {
        while (c--) d[e(c)] = k[c] || e(c);
        k = [function(e) {
            return d[e]
        }];
        e = function() {
            return '\\w+'
        };
        c = 1;
    };
    while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]);
    return p;
} ('12 j={7H:{}};j.2k="8"==1v 1M.4X?1M.2k:8(e,r,p){13(p.5z||p.5A){5B 2J 5y("5v 5w 5x 5C 5H 5I 5J.")}e!=1V.1I&&e!=1M.1I&&(e[r]=p.1j)};j.4p=8(e){o"2L"!=1v 1r&&1r===e?e:"2L"!=1v 1k&&2z!=1k?1k:e};j.1k=j.4p(1x);j.4s="5G";j.3n=8(){j.3n=8(){};j.1k.1s||(j.1k.1s=j.1s)};j.4r=0;j.1s=8(e){o j.4s+(e||"")+j.4r++};j.2A=8(){j.3n();12 e=j.1k.1s.1O;e||(e=j.1k.1s.1O=j.1k.1s("1O"));"8"!=1v 1V.1I[e]&&j.2k(1V.1I,e,{4e:!0,48:!0,1j:8(){o j.41(1x)}});j.2A=8(){}};j.41=8(e){12 r=0;o j.3X(8(){o r<e.14?{24:!1,1j:e[r++]}:{24:!0}})};j.3X=8(e){j.2A();e={2a:e};e[j.1k.1s.1O]=8(){o 1x};o e};j.3W=j.3W||{};j.4M=8(e,r){j.2A();e 2e 5D&&(e+="");12 p=0,m={2a:8(){13(p<e.14){12 u=p++;o{1j:r(u,e[u]),24:!1}}m.2a=8(){o{24:!0,1j:1i 0}};o m.2a()}};m[1s.1O]=8(){o m};o m};j.4S=8(e,r,p,m){13(r){p=j.1k;e=e.2f(".");1a(m=0;m<e.14-1;m++){12 u=e[m];u 1m p||(p[u]={});p=p[u]}e=e[e.14-1];m=p[e];r=r(m);r!=m&&2z!=r&&j.2k(p,e,{4e:!0,48:!0,1j:r})}};j.4S("1V.1I.3F",8(e){o e?e:8(){o j.4M(1x,8(e){o e})}},"5E-5F","5u");12 j=1x;(8(e,r){"8"===1v 3g&&3g.5j?3g([],r):"3o"===1v 3i&&3i.4L?3i.4L=r():e.1g=r()})(1x,8(){8 e(a){13(!h.27(a)){5k{o 2v.5l(a)}5i(c){}}}8 r(a,c){1a(12 d=a.14,b=2<=3d.14?3d[1]:1i 0,f=[],n=0;n<d;n++){13(n 1m a){12 k=a[n];c.2F(b,k,n,a)&&f.1q(k)}}o f}8 p(a){o a.5f(8(a,d){o a.5g(h.1t(d)?p(d):d)},[])}8 m(a){13(h.1t(a)){o a}h.26(a)&&(a=e(a)||a);o a 2e 5h||a 2e 5m?[].5r.2F(a):[a]}8 u(a,c){o a.5s(8(a){o a===c})}8 C(a){12 c={},d;1a(d 1m a){c[d]=a[d]}o c}8 D(a,c){12 d=C(a),b;1a(b 1m a){d[b]=c.35(b)?c[b]:a[b]}o d}8 z(a,c){12 d=C(a),b;1a(b 1m c){d[b]=h.1Z(a[b])?c[b]:a[b]}o d}8 T(a){a=a.34(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,8(a,c,d,k){o c+c+d+d+k+k});12 c=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.1D(a);a=1J(c[1],16);12 d=1J(c[2],16),c=1J(c[3],16);o"33("+a+","+d+","+c+",1)"}8 U(a){8 c(a,c,b){0>b&&(b+=1);1<b&&--b;o b<1/6?a+6*(c-a)*b:0.5>b?c:b<2/3?a+(c-a)*(2/3-b)*6:a}12 d=/21\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.1D(a)||/5t\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.1D(a);a=1J(d[1])/4R;12 b=1J(d[2])/1P,f=1J(d[3])/1P,d=d[4]||1;13(0==b){f=b=a=f}1n{12 n=0.5>f?f*(1+b):f+b-f*b,k=2*f-n,f=c(k,n,a+1/3),b=c(k,n,a);a=c(k,n,a-1/3)}o"33("+2Q*f+","+2Q*b+","+2Q*a+","+d+")"}8 y(a){13(a=/([\\+\\-]?[0-9#\\.]+)(%|2C|5q|5n|5o|1m|5p|65|66|67|64|60|62|63|69|3V|6e|6f)?$/.1D(a)){o a[2]}}8 V(a){13(-1<a.1y("6g")||"4m"===a){o"2C"}13(-1<a.1y("4H")||-1<a.1y("6d")){o"3V"}}8 I(a,c){o h.2i(a)?a(c.1f,c.1R,c.3w):a}8 E(a,c){13(c 1m a.1N){o 6a(a).6b(c.34(/([a-z])([A-Z])/g,"$1-$2").3M())||"0"}}8 J(a,c){13(h.2c(a)&&u(W,c)){o"1w"}13(h.2c(a)&&(a.1u(c)||h.2K(a)&&a[c])){o"3f"}13(h.2c(a)&&"1w"!==c&&E(a,c)){o"3h"}13(2z!=a[c]){o"3o"}}8 X(a,c){12 d=V(c),d=-1<c.1y("2I")?1:0+d;a=a.1N.1w;13(!a){o d}1a(12 b=[],f=[],n=[],k=/(\\w+)\\((.+?)\\)/g;b=k.1D(a);){f.1q(b[1]),n.1q(b[2])}a=r(n,8(a,b){o f[b]===c});o a.14?a[0]:d}8 K(a,c){2B(J(a,c)){1c"1w":o X(a,c);1c"3h":o E(a,c);1c"3f":o a.1u(c)}o a[c]||0}8 L(a,c){12 d=/^(\\*=|\\+=|-=)/.1D(a);13(!d){o a}12 b=y(a)||0;c=2x(c);a=2x(a.34(d[0],""));2B(d[0][0]){1c"+":o c+a+b;1c"-":o c-a+b;1c"*":o c*a+b}}8 F(a,c){o 17.6c(17.2X(c.x-a.x,2)+17.2X(c.y-a.y,2))}8 M(a){a=a.3Q;1a(12 c=0,d,b=0;b<a.3R;b++){12 f=a.3c(b);0<b&&(c+=F(d,f));d=f}o c}8 N(a){13(a.3L){o a.3L()}2B(a.5Z.3M()){1c"5O":o 2*17.1z*a.1u("r");1c"5P":o 2*a.1u("2t")+2*a.1u("2u");1c"5Q":o F({x:a.1u("5N"),y:a.1u("5K")},{x:a.1u("5L"),y:a.1u("5M")});1c"5R":o M(a);1c"5W":12 c=a.3Q;o M(a)+F(c.3c(c.3R-1),c.3c(0))}}8 Y(a,c){8 d(b){b=1i 0===b?0:b;o a.4J.5X(1<=c+b?c+b:0)}12 b=d(),f=d(-1),n=d(1);2B(a.2m){1c"x":o b.x;1c"y":o b.y;1c"5Y":o 2G*17.5V(n.y-f.y,n.x-f.x)/17.1z}}8 O(a,c){12 d=/-?\\d*\\.?\\d+/g,b;b=h.2q(a)?a.31:a;13(h.27(b)){13(h.20(b)){12 f=/20\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.1D(b);b=f?"33("+f[1]+",1)":b}1n{b=h.2O(b)?T(b):h.21(b)?U(b):1i 0}}1n{f=(f=y(b))?b.5S(0,b.14-f.14):b,b=c&&!/\\s/g.29(b)?f+c:f}b+="";o{3m:b,2s:b.3v(d)?b.3v(d).1o(5T):[0],3D:h.26(a)||c?b.2f(d):[]}}8 P(a){a=a?p(h.1t(a)?a.1o(m):m(a)):[];o r(a,8(a,d,b){o b.1y(a)===d})}8 Z(a){12 c=P(a);o c.1o(8(a,b){o{1f:a,1R:b,3w:c.14}})}8 3H(a,c){12 d=C(c);13(h.1t(a)){12 b=a.14;2!==b||h.2y(a[0])?h.2i(c.18)||(d.18=c.18/b):a={1j:a}}o m(a).1o(8(a,b){b=b?0:c.1b;a=h.2y(a)&&!h.2q(a)?a:{1j:a};h.1Z(a.1b)&&(a.1b=b);o a}).1o(8(a){o z(a,d)})}8 3x(a,c){12 d={},b;1a(b 1m a){12 f=I(a[b],c);h.1t(f)&&(f=f.1o(8(a){o I(a,c)}),1===f.14&&(f=f[0]));d[b]=f}d.18=2x(d.18);d.1b=2x(d.1b);o d}8 3B(a){o h.1t(a)?A.2p(1x,a):Q[a]}8 3G(a,c){12 d;o a.2r.1o(8(b){b=3x(b,c);12 f=b.1j,e=K(c.1f,a.2E),k=d?d.1Y.3m:e,k=h.1t(f)?f[0]:k,w=L(h.1t(f)?f[1]:f,k),e=y(w)||y(k)||y(e);b.2W=O(k,e);b.1Y=O(w,e);b.2Y=d?d.2w:a.1p;b.2w=b.2Y+b.1b+b.18;b.1C=3B(b.1C);b.2D=(36-17.2U(17.2T(b.2D,1),5U))/36;b.3E=h.2q(f);b.2M=h.27(b.2W.3m);b.2M&&(b.2b=1);o d=b})}8 3C(a,c){o r(p(a.1o(8(a){o c.1o(8(b){12 c=J(a.1f,b.2E);13(c){12 d=3G(b,a);b={1A:c,2m:b.2E,3e:a,2r:d,18:d[d.14-1].2w,1b:d[0].1b}}1n{b=1i 0}o b})})),8(a){o!h.1Z(a)})}8 R(a,c,d,b){12 f="1b"===a;o c.14?(f?17.2U:17.2T).2p(17,c.1o(8(b){o b[a]})):f?b.1b:d.1p+b.1b+b.18}8 3S(a){12 c=D(3t,a),d=D(S,a),b=Z(a.1B),f=[],e=z(c,d),k;1a(k 1m a){e.35(k)||"1B"===k||f.1q({2E:k,1p:e.1p,2r:3H(a[k],d)})}a=3C(b,f);o z(c,{1E:[],2h:b,2H:a,18:R("18",a,c,d),1b:R("1b",a,c,d)})}8 q(a){8 c(){o 1r.38&&2J 38(8(a){o p=a})}8 d(a){o g.1F?g.18-a:a}8 b(a){1a(12 b=0,c={},d=g.2H,f=d.14;b<f;){12 e=d[b],k=e.3e,h=e.2r,n=h.14-1,l=h[n];n&&(l=r(h,8(b){o a<b.2w})[0]||l);1a(12 h=17.2U(17.2T(a-l.2Y-l.1b,0),l.18)/l.18,w=3z(h)?1:l.1C(h,l.2D),h=l.1Y.3D,p=l.2b,n=[],m=1i 0,m=l.1Y.2s.14,t=0;t<m;t++){12 x=1i 0,x=l.1Y.2s[t],q=l.2W.2s[t],x=l.3E?Y(l.1j,w*x):q+w*(x-q);p&&(l.2M&&2<t||(x=17.2b(x*p)/p));n.1q(x)}13(l=h.14){1a(m=h[0],w=0;w<l;w++){p=h[w+1],t=n[w],3z(t)||(m=p?m+(t+p):m+(t+" "))}}1n{m=n[0]}3p[e.1A](k.1f,e.2m,m,c,k.1R);e.5e=m;b++}13(b=1M.3F(c).14){1a(d=0;d<b;d++){H||(H=E(2v.51,"1w")?"1w":"-57-1w"),g.2h[d].1f.1N[H]=c[d].54(" ")}}g.1G=a;g.3O=a/g.18*1P}8 f(a){13(g[a]){g[a](g)}}8 e(){g.1S&&!0!==g.1S&&g.1S--}8 k(a){12 k=g.18,n=g.1p,w=n+g.1b,r=g.1G,x=g.1F,q=d(a);13(g.1E.14){12 u=g.1E,v=u.14;13(q>=g.1G){1a(12 G=0;G<v;G++){u[G].1W(q)}}1n{1a(;v--;){u[v].1W(q)}}}13(q>=w||!k){g.1L||(g.1L=!0,f("3u")),f("4y")}13(q>n&&q<k){b(q)}1n{13(q<=n&&0!==r&&(b(0),x&&e()),q>=k&&r!==k||!k){b(k),x||e()}}f("1T");a>=k&&(g.1S?(t=h,"3J"===g.1X&&(g.1F=!g.1F)):(g.1Q(),g.1K||(g.1K=!0,f("4G"),"38"1m 1r&&(p(),m=c()))),l=0)}a=1i 0===a?{}:a;12 h,t,l=0,p=2z,m=c(),g=3S(a);g.1U=8(){12 a=g.1X,c=g.4F;g.1G=0;g.3O=0;g.2l=!0;g.1L=!1;g.1K=!1;g.1F="3N"===a;g.1S="3J"===a&&1===c?2:c;b(0);1a(a=g.1E.14;a--;){g.1E[a].1U()}};g.3r=8(a){h=a;t||(t=h);k((l+h-t)*q.3q)};g.1W=8(a){k(d(a))};g.1Q=8(){12 a=v.1y(g);-1<a&&v.4E(a,1);g.2l=!0};g.2o=8(){g.2l&&(g.2l=!1,t=0,l=d(g.1G),v.1q(g),B||3s())};g.3N=8(){g.1F=!g.1F;t=0;l=d(g.1G)};g.4D=8(){g.1Q();g.1U();g.2o()};g.4W=m;g.1U();g.2j&&g.2o();o g}12 3t={1T:1i 0,3u:1i 0,4y:1i 0,4G:1i 0,4F:1,1X:"4Y",2j:!0,1p:0},S={18:36,1b:0,1C:"4V",2D:4u,2b:0},W="4U 59 5b 4H 5c 52 56 2I 58 5d 5a 4T 4Z 4m".2f(" "),H,h={1t:8(a){o 1V.7q(a)},2y:8(a){o-1<1M.1I.7r.2F(a).1y("1M")},2q:8(a){o h.2y(a)&&a.35("31")},2K:8(a){o a 2e 7m},2c:8(a){o a.7n||h.2K(a)},26:8(a){o"7o"===1v a},2i:8(a){o"8"===1v a},1Z:8(a){o"2L"===1v a},2O:8(a){o/(^#[0-4z-F]{6}$)|(^#[0-4z-F]{3}$)/i.29(a)},20:8(a){o/^20/.29(a)},21:8(a){o/^21/.29(a)},27:8(a){o h.2O(a)||h.20(a)||h.21(a)}},A=8(){8 a(a,d,b){o(((1-3*b+3*d)*a+(3*b-6*d))*a+3*d)*a}o 8(c,d,b,f){13(0<=c&&1>=c&&0<=b&&1>=b){12 e=2J 7w(11);13(c!==d||b!==f){1a(12 k=0;11>k;++k){e[k]=a(0.1*k,c,b)}}o 8(k){13(c===d&&b===f){o k}13(0===k){o 0}13(1===k){o 1}1a(12 h=0,l=1;10!==l&&e[l]<=k;++l){h+=0.1}--l;12 l=h+(k-e[l])/(e[l+1]-e[l])*0.1,n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;13(0.7y<=n){1a(h=0;4>h;++h){n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;13(0===n){7u}12 m=a(l,c,b)-k,l=l-m/n}k=l}1n{13(0===n){k=l}1n{12 l=h,h=h+0.1,g=0;7v{m=l+(h-l)/2,n=a(m,c,b)-k,0<n?h=m:l=m}7b(1e-7<17.7d(n)&&10>++g);k=m}}o a(k,d,f)}}}}(),Q=8(){8 a(a,b){o 0===a||1===a?a:-17.2X(2,10*(a-1))*17.4K(2*(a-1-b/(2*17.1z)*17.79(1))*17.1z/b)}12 c="7a 7e 7i 7j 7k 7f 7g 7h 7N".2f(" "),d={7L:[[0.55,0.7B,0.68,0.53],[0.55,0.7z,0.7M,0.19],[0.7F,0.3y,0.7s,0.22],[0.7D,0.3l,0.7C,0.7P],[0.47,0,0.7J,0.6x],[0.3K,0.3l,0.6y,0.6z],[0.6,0.6u,0.6v,0.6w],[0.6,-0.28,0.6F,0.3P],a],6A:[[0.25,0.46,0.45,0.6k],[0.6l,0.61,0.3U,1],[0.3A,0.6m,0.44,1],[0.23,1,0.32,1],[0.39,0.6i,0.6j,1],[0.19,1,0.22,1],[0.6n,0.6o,0.3A,1],[0.3T,0.6p,0.32,1.6G],8(b,c){o 1-a(1-b,c)}],6X:[[0.6Y,0.3y,0.6Z,0.6U],[0.6V,0.3P,0.3U,1],[0.77,0,0.3T,1],[0.3I,0,0.73,1],[0.74,0.3l,0.55,0.3K],[1,0,0,1],[0.76,0.70,0.15,0.3I],[0.68,-0.55,0.72,1.55],8(b,c){o 0.5>b?a(2*b,c)/2:1-a(-2*b+2,c)/2}]},b={4c:A(0.25,0.25,0.75,0.75)},f={},e;1a(e 1m d){f.1A=e,d[f.1A].2V(8(a){o 8(d,f){b["6K"+a.1A+c[f]]=h.2i(d)?d:A.2p(j,d)}}(f)),f={1A:f.1A}}o b}(),3p={3h:8(a,c,d){o a.1N[c]=d},3f:8(a,c,d){o a.4I(c,d)},3o:8(a,c,d){o a[c]=d},1w:8(a,c,d,b,f){b[f]||(b[f]=[]);b[f].1q(c+"("+d+")")}},v=[],B=0,3s=8(){8 a(){B=6M(c)}8 c(c){12 b=v.14;13(b){1a(12 d=0;d<b;){v[d]&&v[d].3r(c),d++}a()}1n{6H(B),B=0}}o a}();q.6I="2.2.0";q.3q=1;q.6J=v;q.6Q=8(a){a=P(a);1a(12 c=v.14;c--;){1a(12 d=v[c],b=d.2H,f=b.14;f--;){u(a,b[f].3e.1f)&&(b.4E(f,1),b.14||d.1Q())}}};q.6R=K;q.6S=8(a,c){12 d=h.26(a)?e(a)[0]:a,b=c||1P;o 8(a){o{4J:d,2m:a,31:N(d)*(b/1P)}}};q.6N=8(a){12 c=N(a);a.4I("4P-6O",c);o c};q.6P=A;q.6C=Q;q.4f=8(a){12 c=q(a);c.1Q();c.18=0;c.3a=8(d){c.1E.2V(8(a){a.1L=!0;a.1K=!0});m(d).2V(8(b){12 d=z(b,D(S,a||{}));d.1B=d.1B||a.1B;b=c.18;12 e=d.1p;d.2j=!1;d.1X=c.1X;d.1p=h.1Z(e)?b:L(e,b);c.1L=!0;c.1K=!0;c.1W(d.1p);d=q(d);d.1L=!0;d.1K=!0;d.18>b&&(c.18=d.18);c.1E.1q(d)});c.1W(0);c.1U();c.2j&&c.4D();o c};o c};q.1l=8(a,c){o 17.6L(17.1l()*(c-a+1))+a};o q});8 4n(e){2S=(e.4x||e.4C[0].4x)-1h.4A().6T,2N=e.4B||e.4C[0].4B-1h.4A().71}8 4Q(e){12 t=1g.1l(0,4R)*17.1z/2G,a=1g.1l(50,2G),n=[-1,1][1g.1l(0,1)]*a;o{x:e.x+n*17.6W(t),y:e.y+n*17.4K(t)}}8 49(e,t){12 a={};o a.x=e,a.y=t,a.2g=3k[1g.1l(0,3k.14-1)],a.1H=1g.1l(16,32),a.2P=4Q(a),a.2Z=8(){1d.4N(),1d.4O(a.x,a.y,a.1H,0,2*17.1z,!0),1d.6s=a.2g,1d.6r()},a}8 4b(e,t){12 a={};o a.x=e,a.y=t,a.2g="#6q",a.1H=0.1,a.3j=0.5,a.2n=6,a.2Z=8(){1d.4a=a.3j,1d.4N(),1d.4O(a.x,a.y,a.1H,0,2*17.1z,!0),1d.2n=a.2n,1d.6h=a.2g,1d.4P(),1d.4a=1},a}8 37(e){1a(12 t=0;t<e.2h.14;t++){e.2h[t].1f.2Z()}}8 4o(e,t){1a(12 a=4b(e,t),n=[],i=0;i<4g;i++){n.1q(49(e,t))}1g.4f().3a({1B:n,x:8(e){o e.2P.x},y:8(e){o e.2P.y},1H:0.1,18:1g.1l(4d,3Y),1C:"3Z",1T:37}).3a({1B:a,1H:1g.1l(6t,7p),2n:0,3j:{1j:0,1C:"4c",18:1g.1l(6B,6E)},18:1g.1l(4d,3Y),1C:"3Z",1T:37,1p:0})}8 4q(42,1b){12 3b;o 8(){12 43=1x;12 40=3d;6D(3b);3b=7K(8(){42.2p(43,40)},1b)}}12 1h=2v.7Q(".7I");13(1h){12 1d=1h.4t("2d"),4g=30,2S=0,2N=0,4j="7E",3k=["#7G","#7A","#7O","#78"],2R=4q(8(){1h.2t=2*1r.4v,1h.2u=2*1r.4w,1h.1N.2t=1r.4v+"2C",1h.1N.2u=1r.4w+"2C",1h.4t("2d").2I(2,2)},4u),4i=1g({18:1/0,1T:8(){1d.7c(0,0,1h.2t,1h.2u)}});2v.4l(4j,8(e){"4k"!==e.1f.1R&&"7l-4k"!==e.1f.1R&&"A"!==e.1f.4h&&"7t"!==e.1f.4h&&(4i.2o(),4n(e),4o(2S,2N))},!1),2R(),1r.4l("7x",2R,!1)};', 62, 487, '||||||||function||||||||||||||||return||||||||||||||||||||||||||||||||||||||||var|if|length|||Math|duration||for|delay|case|ctx||target|anime|canvasEl|void|value|global|random|in|else|map|offset|push|window|Symbol|arr|getAttribute|typeof|transform|this|indexOf|PI|type|targets|easing|exec|children|reversed|currentTime|radius|prototype|parseInt|completed|began|Object|style|iterator|100|pause|id|remaining|update|reset|Array|seek|direction|to|und|rgb|hsl|||done||str|col||test|next|round|dom||instanceof|split|color|animatables|fnc|autoplay|defineProperty|paused|property|lineWidth|play|apply|pth|tweens|numbers|width|height|document|end|parseFloat|obj|null|initSymbolIterator|switch|px|elasticity|name|call|180|animations|scale|new|svg|undefined|isColor|pointerY|hex|endPos|255|setCanvasSize|pointerX|max|min|forEach|from|pow|start|draw||totalLength||rgba|replace|hasOwnProperty|1000|renderParticule|Promise||add|timer|getItem|arguments|animatable|attribute|define|css|module|alpha|colors|05|original|initSymbol|object|ha|speed|tick|ia|ga|begin|match|total|ba|03|isNaN|165|ca|ea|strings|isPath|keys|da|aa|86|alternate|95|getTotalLength|toLowerCase|reverse|progress|045|points|numberOfItems|fa|175|355|deg|array|iteratorPrototype|1800|easeOutExpo|args|arrayIterator|fn|context|||||writable|createParticule|globalAlpha|createCircle|linear|1200|configurable|timeline|numberOfParticules|nodeName|render|tap|sidebar|addEventListener|perspective|updateCoords|animateParticules|getGlobal|debounce|symbolCounter_|SYMBOL_PREFIX|getContext|500|innerWidth|innerHeight|clientX|run|9A|getBoundingClientRect|clientY|touches|restart|splice|loop|complete|rotate|setAttribute|el|sin|exports|iteratorFromArray|beginPath|arc|stroke|setParticuleDirection|360|polyfill|skewX|translateX|easeOutElastic|finished|defineProperties|normal|skewY||body|rotateY||join||rotateZ|webkit|scaleX|translateY|scaleZ|translateZ|rotateX|scaleY|currentValue|reduce|concat|NodeList|catch|amd|try|querySelectorAll|HTMLCollection|em|rem|cm|pt|slice|some|hsla|es3|ES3|does|not|TypeError|get|set|throw|support|String|es6|impl|jscomp_symbol_|getters|and|setters|y1|x2|y2|x1|circle|rect|line|polyline|substr|Number|999|atan2|polygon|getPointAtLength|angle|tagName|vw||vh|vmin|pc|mm|ex|ch||vmax|getComputedStyle|getPropertyValue|sqrt|skew|rad|turn|translate|strokeStyle|575|565|94|215|84|075|82|885|F00|fill|fillStyle|80|04|98|335|715|795|035|Out|600|easings|clearTimeout|800|735|275|cancelAnimationFrame|version|running|ease|floor|requestAnimationFrame|setDashoffset|dasharray|bezier|remove|getValue|path|left|955|645|cos|InOut|455|515|135|top|265|07|445||785||FBF38C|asin|Quad|while|clearRect|abs|Cubic|Expo|Circ|Back|Quart|Quint|Sine|toggle|SVGElement|nodeType|string|160|isArray|toString|685|IMG|break|do|Float32Array|resize|001|055|18FF92|085|855|755|mousedown|895|FF1461|scope|fireworks|745|setTimeout|In|675|Elastic|5A87FF|06|querySelector'.split('|'), 0, {}))

将以上代码新建一个js文件或者直接放script标签中然后用以下代码调用,不会的QQ问我,我懒,不想写了

<canvas class="fireworks" style="position:fixed;left:0;top:0;z-index:99999999;pointer-events:none;"></canvas>
<!--如果你是新建js文件则用这个,不是就不用-->
<script type="text/javascript" src="js文件地址"></script>

教程出自网上,原文地址给忘了

另外canvas要在script之前,否则js代码不能通过ID获取到canvas就GG了撒

Last modification:August 6th, 2018 at 10:20 pm
If you think my article is useful to you, please feel free to appreciate

4 comments

  1. Baicho

    支持博主,挺不错的!

  2. ssr

    鼠标单击爱心特效~OωO

  3. w4ctech

    eval() 是一个危险的函数。为什么不使用function呢?

    1. 邓先森
      @w4ctech

      转发的|´・ω・)ノ

Leave a Comment