Home
last modified time | relevance | path

Searched refs:PI (Results 1 – 25 of 129) sorted by relevance

123456

/plugin/amcharts/assets/amcharts/
H A Dradar.js6PI/180),z*=a.rMultiplier);for(w=0;w<l;w++){var q=180-360/l*w,g=q;"middle"==a.pointPosition&&(g-=18…
9 …or(k=0;k<u;k++)p=180-360/u*k,r.push(b*Math.sin(p/180*Math.PI)),h.push(b*Math.cos(p/180*Math.PI));r…
10 …r(k=u;0<=k;k--)p=180-360/u*k,r.push(e*Math.sin(p/180*Math.PI)),h.push(e*Math.cos(p/180*Math.PI));u…
11PI)),p.push(c*Math.cos(h/180*Math.PI));k.push(k[0]);p.push(p[0]);for(l=a;0<=l;l--)h=180-360/a*l,k.…
H A Dgauge.js8PI)),n=k(D-y*Math.cos(r/180*Math.PI)),l=k(C+(y-h)*Math.sin(r/180*Math.PI)),w=k(D-(y-h)*Math.cos(r/…
9 Math.PI),0<I&&this.labelsEnabled&&z/I==Math.round(z/I)&&(this.showLastLabel||z!=d-1)&&(this.showFir…
10 180*Math.PI)),n=k(D-F*Math.cos(w/180*Math.PI)),l=k(C+(F-H)*Math.sin(w/180*Math.PI)),w=k(D-(F-H)*Mat…
20 …gth);var d=Math.sin(b/180*Math.PI),g=Math.cos(b/180*Math.PI),p=Math.sin((b+90)/180*Math.PI),E=Math…
H A Dxy.js13PI/180));this.dy=Math.round(-this.depth3D*Math.sin(this.angle*Math.PI/180));this.d3x=Math.round(th…
/plugin/jplayer/vendor/happyworm/jplayer/lib/circle-player/js/
H A Dcircle.player.js220 if (theta > -1 * Math.PI && theta < -0.5 * Math.PI) {
221 theta = 2 * Math.PI + theta;
227 return (theta + Math.PI / 2) / 2 * Math.PI * 10;
H A Djquery.transform2d.js534 parseInt(value,10) * (Math.PI * 2 / 360):
536 parseInt(value,10) * (Math.PI/200):
/plugin/stlviewer/stlviewer/
H A DOrbitControls.js65 this.maxPolarAngle = Math.PI; // radians
181 targetDistance *= Math.tan( ( scope.object.fov / 2 ) * Math.PI / 180.0 );
253 phi = Math.max( EPS, Math.min( Math.PI - EPS, phi ) );
300 return 2 * Math.PI / 60 / 60 * scope.autoRotateSpeed;
360 scope.rotateLeft( 2 * Math.PI * rotateDelta.x / element.clientWidth * scope.rotateSpeed );
363 scope.rotateUp( 2 * Math.PI * rotateDelta.y / element.clientHeight * scope.rotateSpeed );
544 scope.rotateLeft( 2 * Math.PI * rotateDelta.x / element.clientWidth * scope.rotateSpeed );
546 scope.rotateUp( 2 * Math.PI * rotateDelta.y / element.clientHeight * scope.rotateSpeed );
/plugin/sketchcanvas/script/
H A Ddraw.js73 ctx.arc(x0+r, y0/rate+r, r, 0, 2 * Math.PI, false);
96 ctx.arc(x0+r, y0/rate+r, r, 0, 2 * Math.PI, false);
135 var rad1 = Math.PI / 4.0; // 45°
136 var rad2 = -Math.PI / 4.0; // -45°
/plugin/diagramsnet/lib/js/rough/
H A Drough.js.orig1PI/180*s,r=Math.cos(a),h=Math.sin(a);t.forEach((t=>{const[e,s]=t;t[0]=(e-n)*r-(s-o)*h+n,t[1]=(e-n)…
H A Drough.min.js20 …n d(b,a,e){if(b&&b.length){a=_slicedToArray(a,2);var c=a[0],f=a[1];e*=Math.PI/180;var k=Math.cos(e…
32 …Math.sin(e)+a*Math.cos(e)]}function Y(b,a,e,c,f,k,d,g,n,m){var r=(w=d,Math.PI*w/180),w;w=[];var t,…
33 …rseFloat(((c-q)/k).toFixed(9)));b<h&&(t=Math.PI-t);e<h&&(g=Math.PI-g);0>t&&(t=2*Math.PI+t);0>g&&(g…
34 n&&t>g&&(t-=2*Math.PI);!n&&g>t&&(g-=2*Math.PI)}Math.abs(g-t)>120*Math.PI/180&&(g=n&&g>t?t+120*Math.
36 …:e}}function aa(b,a,e){var c=2*Math.PI/Math.max(e.curveStepCount,e.curveStepCount/Math.sqrt(200)*M…
37 …1*e,n);for(c+=u(.01*c,n);0>f;)f+=2*Math.PI,k+=2*Math.PI;k-f>2*Math.PI&&(f=0,k=2*Math.PI);var m=Mat…
44PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.sin(r-b)]);for(var h=r;h<2*Math.PI+r-.…
57 …+r*Math.cos(a),k[1]+r*Math.sin(a)],t=[l[0]+t*Math.cos(a+Math.PI/4),l[1]+t*Math.sin(a+Math.PI/4)];d…
63 …(b/2);e+=u(.01*e,g);for(b+=u(.01*b,g);0>d;)d+=2*Math.PI,f+=2*Math.PI;f-d>2*Math.PI&&(d=0,f=2*Math.
H A Drough.js.modified74 _a = Math.PI / 180 * s,
557 … _u2 = [_i7[0] + _r4 * Math.cos(c + Math.PI / 4), _i7[1] + _r4 * Math.sin(c + Math.PI / 4)];
1008 var l = (u = r, Math.PI * u / 180);
1041PI - f), s < g && (d = Math.PI - d), f < 0 && (f = 2 * Math.PI + f), d < 0 && (d = 2 * Math.PI + d…
1155 a = 2 * Math.PI / o;
1202 f += 2 * Math.PI, d += 2 * Math.PI;
1205 d - f > 2 * Math.PI && (f = 0, d = 2 * Math.PI);
1206 var g = 2 * Math.PI / i.curveStepCount,
1401 l = W(.5, h) - Math.PI / 2;
1659 u += 2 * Math.PI, p += 2 * Math.PI;
[all …]
/plugin/diagramsnet/lib/shapes/
H A DmxBasic.js2435 var endAngle = 2 * Math.PI * endAngleSource;
2448 angDiff = angDiff + Math.PI * 2;
2453 if (angDiff >= Math.PI)
2580 var endAngle = 2 * Math.PI * endAngleSource;
2593 angDiff = angDiff + Math.PI * 2;
2598 if (angDiff > Math.PI)
2733 angDiff = angDiff + Math.PI * 2;
2735 else if (angDiff == Math.PI)
2752 if (angDiff >= Math.PI)
2956 angDiff = angDiff + Math.PI * 2;
[all …]
H A DmxInfographic.js137 …var startAngle = 2 * Math.PI * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'st…
138 …var endAngle = 2 * Math.PI * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'endA…
158 angDiff = angDiff + Math.PI * 2;
163 if (angDiff > Math.PI)
199 var res = 0.5 * Math.atan2(handleX, handleY) / Math.PI;
220 var res = 0.5 * Math.atan2(handleX, handleY) / Math.PI;
1930 angDiff = angDiff + Math.PI * 2;
1932 else if (angDiff == Math.PI)
1948 if (angDiff <= Math.PI)
2020 var res = 0.5 * Math.atan2(handleX, handleY) / Math.PI;
[all …]
/plugin/abc2/abc-libraries/abc2svg/
H A Dpsvg-1.js118 a2-=360;x1=x+r*Math.cos(a1*Math.PI/180);y1=y+r*Math.sin(a1*Math.PI/180)
126 if(a1==a2){a2=180-a1;x2=x+r*Math.cos(a2*Math.PI/180);y2=y+r*Math.sin(a2*Math.PI/180);path+='a'+r.toFixed(2)+' '+r.toFixed(2)+' 0 0 '+
133 (y2-y1).toFixed(2)+'\n';gcur.cx=x1;gcur.cy=y1}else{x2=x+r*Math.cos(a2*Math.PI/180);y2=y+r*Math.sin(a2*Math.PI/180);path+='a'+r.toFixed(2)+' '+r.toFixed(2)+' 0 0 '+
184 a=gcur.rotate*Math.PI/180;gcur.sin=_sin=Math.sin(a);gcur.cos=_cos=Math.cos(a);x=gcur.cx;gcur.cx=(x*_cos+gcur.cy*_sin)*gcur.xscale;gcur.cy=(-x*_sin+gcur.cy*_cos)*gcur.yscale;x=gcur.xoffs;gcur.xoffs=(x*_cos+gcur.yoffs*_sin)*gcur.xscale;gcur.yoffs=(-x*_sin+gcur.yoffs*_cos)*gcur.yscale;gchg=true}
304 /.pi{.math(PI)get}.bdef\n\
/plugin/s5reloaded/ui/effects_support/
H A Deffects.js75 return (-Math.cos(pos*Math.PI)/2) + .5;
81 var pos = ((-Math.cos(pos*Math.PI)/4) + .75) + Math.random()/4;
85 return (-Math.cos(pos*Math.PI*(9*pos))/2) + .5;
88 return (-Math.cos((pos*((pulses||5)-.5)*2)*Math.PI)/2) + .5;
91 return 1 - (Math.cos(pos * 4.5 * Math.PI) * Math.exp(-pos * 6));
899 return 1 - transition((-Math.cos((pos*(options.pulses||5)*2)*Math.PI)/2) + .5);
/plugin/magnifier/
H A Dscript.js110 var arc = -(110 * position + 35) * Math.PI / 180;
/plugin/findologicxmlexport/vendor/hoa/math/
H A DREADME.md83 $expression = '1 / 2 / 3 + 4 * (5 * 2 - 6) * PI / avg(7, 8, 9)';
120 * > > > > > token(constant, PI)
/plugin/diagramsnet/lib/js/diagramly/util/
H A DmxJsCanvas.js27 this.M_RAD_PER_DEG = Math.PI / 180;
510 this.ctx.arc(0, 0, 1, 0, 2 * Math.PI, false);
648 this.ctx.rotate(rotation * Math.PI / 180);
/plugin/anewssystem/
H A Ddropdowncontent.js53 return (1-Math.cos(percent*Math.PI)) / 2 //return cos curve based value from a percentage input
/plugin/sequencediagram/bower_components/raphael/dev/
H A Draphael.core.js143 PI = math.PI,
445 return deg % 360 * PI / 180;
1833 var _120 = PI * 120 / 180,
1834 rad = PI / 180 * (+angle || 0),
1849 var cos = math.cos(PI / 180 * angle),
1868 f1 = x1 < cx ? PI - f1 : f1;
1869 f2 = x2 < cx ? PI - f2 : f2;
1870 f1 < 0 && (f1 = PI * 2 + f1);
1871 f2 < 0 && (f2 = PI * 2 + f2);
1873 f1 = f1 - PI * 2;
[all …]
/plugin/diagramsnet/lib/js/croppie/
H A Dcroppie.min.js1PI/180);break;case 4:r.translate(0,o),r.scale(1,-1);break;case 5:e.width=o,e.height=i,r.rotate(90*…
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A DmxVsdxCanvas2D.js1004 var pRot = pRotDegrees * Math.PI / 180;
1079 this.shape.appendChild(this.createCellElem("TxtAngle", (360 - rotation) * Math.PI / 180));
1120 this.shape.appendChild(this.createCellElem("Angle", (360 - theta) * Math.PI / 180));
/plugin/sequencediagram/bower_components/snap.svg/dist/
H A Dsnap.svg.js762 (2 * Math.PI) / .3) + 1;
867 PI = math.PI,
1066 return deg % 360 * PI / 180;
1069 return rad * 180 / PI % 360;
5328 PI = math.PI,
5785 var rad = Math.PI / 180,
6061 var _120 = PI * 120 / 180,
6096 f1 = x1 < cx ? PI - f1 : f1;
6097 f2 = x2 < cx ? PI - f2 : f2;
6101 f1 = f1 - PI * 2;
[all …]
/plugin/diagramsnet/lib/shapes/mockup/
H A DmxMockupGraphics.js396 var startAngle = 2 * Math.PI * beginPerc;
397 var endAngle = 2 * Math.PI * endPerc;
724 var needlePos = (0.75 * (2 * Math.PI * parseFloat(gaugePos) / 100) + 1.25 * Math.PI);
/plugin/diagramsnet/lib/plugins/
H A Dexplore.js259 var phi = 2 * Math.PI / cellCount;
/plugin/jdraw/src/com/mxgraph/examples/swing/editor/
H A DEditorRuler.java539 ((Graphics2D) g).rotate(-Math.PI / 2, 0, iy); in paintComponent()

123456