All pastes #430838 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-09 09:40 UTC
rendered paste body
if (pressv != 0)
{
    this.panel = this.panel + pressv;
    pressv = pressv * 0.875000;
    if (pressv < 0.200000 && pressv > -0.200000)
    {
        pressv = 0;
    } // end if
} // end if
theta = theta + _parent.speed;
xbit = Math.sin(0.017453 * theta);
ybit = Math.cos(0.017453 * theta);
this._xscale = ybit * this.panel;
this._x = xbit * this.radius;
this._alpha = 30 + (ybit + 1) * 50;
this._yscale = this.panel - 3 + (ybit + 1) * 3;
stack = Math.round((ybit + 1) * radius * 2);
if (stack == 100)
{
    stack = 101;
} // end if
this.swapDepths(stack);