jQuery.extend(jQuery.roundabout_shape,{theJuggler:function(e,a,f){return{x:Math.sin(e+a),y:Math.tan(Math.exp(Math.log(e))+a)/(f-1),z:(Math.cos(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},figure8:function(e,a,f){return{x:Math.sin(e*2+a),y:(Math.sin(e+Math.PI/2+a)/8)*f,z:(Math.cos(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},waterWheel:function(e,a,f){return{x:(Math.sin(e+Math.PI/2+a)/8)*f,y:Math.sin(e+a)/(Math.PI/2),z:(Math.cos(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},square:function(k,a,l){var h,i,j;if(k<=Math.PI/2){h=(2/Math.PI)*k;i=-(2/Math.PI)*k+1;j=-(1/Math.PI)*k+1;}else{if(k>Math.PI/2&&k<=Math.PI){h=-(2/Math.PI)*k+2;i=-(2/Math.PI)*k+1;j=-(1/Math.PI)*k+1;}else{if(k>Math.PI&&k<=(3*Math.PI)/2){h=-(2/Math.PI)*k+2;i=(2/Math.PI)*k-3;j=(1/Math.PI)*k-1;}else{h=(2/Math.PI)*k-4;i=(2/Math.PI)*k-3;j=(1/Math.PI)*k-1;}}}return{x:h,y:i*l,z:j,scale:j};},conveyorBeltLeft:function(e,a,f){return{x:-Math.cos(e+a),y:(Math.cos(e+3*Math.PI/2+a)/8)*f,z:(Math.sin(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},conveyorBeltRight:function(e,a,f){return{x:Math.cos(e+a),y:(Math.cos(e+3*Math.PI/2+a)/8)*f,z:(Math.sin(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},goodbyeCruelWorld:function(e,a,f){return{x:Math.sin(e+a),y:(Math.tan(e+3*Math.PI/2+a)/8)*(f+0.5),z:(Math.sin(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},diagonalRingLeft:function(e,a,f){return{x:Math.sin(e+a),y:-Math.cos(e+Math.tan(Math.cos(a)))/(f+1.5),z:(Math.cos(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},diagonalRingRight:function(e,a,f){return{x:Math.sin(e+a),y:Math.cos(e+Math.tan(Math.cos(a)))/(f+1.5),z:(Math.cos(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},rollerCoaster:function(e,a,f){return{x:Math.sin(e+a),y:Math.sin((2+f)*e),z:(Math.cos(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};},tearDrop:function(e,a,f){return{x:Math.sin(e+a),y:-Math.sin(e/2+f)+0.35,z:(Math.cos(e+a)+1)/2,scale:(Math.sin(e+Math.PI/2+a)/2)+0.5};}});
