sclass RenderFrequencySample_Sine is RenderFrequencySample { public double get(Complex c, double frac) { double phi = frac*twoPi(); ret c.re() * sin(phi) + c.im() * sin(phi+pi()/2); } }