CIImage TriangleKaleidoscope () { var kaleidoscope = new CITriangleKaleidoscope () { Image = heron }; return Crop (kaleidoscope); }
/// <summary> /// Creates a kaleidoscopic effect /// </summary> /// <returns>The altered image.</returns> CIImage TriangleKaleidoscope () { var triangle_kaleidoscope = new CITriangleKaleidoscope () { Image = heron, Size = 200, Point = new CIVector (heron.Extent.Width * .3f, heron.Extent.Height * .6f), }; return Crop (triangle_kaleidoscope); }