commit b1e91f2c385ef2cf7b7cb9981eb087d146f243e9
Author: Leszek Koltunski <leszek@distoretedandroid.org>
Date:   Fri Jun 10 13:39:35 2016 +0100

    Improce the 'Check' App.

diff --git a/src/main/java/org/distorted/library/DistortedObject.java b/src/main/java/org/distorted/library/DistortedObject.java
index 4b3e1e4..81bfe0c 100644
--- a/src/main/java/org/distorted/library/DistortedObject.java
+++ b/src/main/java/org/distorted/library/DistortedObject.java
@@ -881,7 +881,7 @@ public abstract class DistortedObject
  *        
  * @param t      1-dimensional Interpolator that returns the level of blend a given pixel will be
  *               mixed with the next parameter 'color': pixel = (1-level)*pixel + level*color
- * @param color  Color to mix.         
+ * @param color  Color to mix. (1,0,0) is RED.
  * @param region Region this Effect is limited to. 
  *               Null here means 'apply the Effect to the whole Bitmap'.
  * @param i      2-dimensional Interpolator which, at any given time, returns a Float2D representing 
@@ -901,7 +901,7 @@ public abstract class DistortedObject
  *         
  * @param t      1-dimensional Interpolator that returns the level of blend a given pixel will be 
  *               mixed with the next parameter 'color': pixel = (1-level)*pixel + level*color
- * @param color  Color to mix.         
+ * @param color  Color to mix. (1,0,0) is RED.
  * @param region Region this Effect is limited to. 
  *               Null here means 'apply the Effect to the whole Bitmap'.
  * @param point  Center of the Effect.
@@ -918,7 +918,7 @@ public abstract class DistortedObject
  *        
  * @param t      Level of blend a given pixel will be mixed with the next parameter 'color': 
  *               pixel = (1-t)*pixel + t*color
- * @param color  Color to mix.       
+ * @param color  Color to mix. (1,0,0) is RED.
  * @param region Region this Effect is limited to.
  *               Null here means 'apply the Effect to the whole Bitmap'.
  * @param i      2-dimensional Interpolator which, at any given time, returns a Float2D representing the
@@ -938,7 +938,7 @@ public abstract class DistortedObject
  *         
  * @param t      Level of blend a given pixel will be mixed with the next parameter 'color': 
  *               pixel = (1-t)*pixel + t*color
- * @param color  Color to mix.       
+ * @param color  Color to mix. (1,0,0) is RED.
  * @param region The Region this Effect is limited to. 
  *               Null here means 'apply the Effect to the whole Bitmap'.
  * @param point  Center of the Effect.
@@ -957,7 +957,7 @@ public abstract class DistortedObject
  *         
  * @param t     Level of blend a given pixel will be mixed with the next parameter 'color': 
  *              pixel = (1-t)*pixel + t*color
- * @param color Color to mix.       
+ * @param color Color to mix. (1,0,0) is RED.
  * @return      ID of the effect added, or -1 if we failed to add one. 
  */
   public long chroma(float t, Float3D color)
@@ -2412,15 +2412,13 @@ public abstract class DistortedObject
  * @param region   Region that masks the effect of the Swirl.
  * @param point    2-dimensional Interpolator that, at any given time, returns a Point2D representing 
  *                 the Center of the Effect.
- * @param duration Time, in milliseconds, it takes to do one full interpolation.
- * @param count    Controls how many interpolations we want to do. See {@link Interpolator#setCount(float)}
- * @return         ID of the effect added, or -1 if we failed to add one. 
+ * @return         ID of the effect added, or -1 if we failed to add one.
  */
-  public long swirl(int degree, Float4D region, Interpolator2D point, int duration, float count)
+  public long swirl(int degree, Float4D region, Interpolator2D point)
     {
-    Interpolator1D di = new Interpolator1D(); 
-    di.setCount(count);
-    di.setDuration(duration);
+    Interpolator1D di = new Interpolator1D();
+    di.setCount(0.5f);
+    di.setDuration(0);
     di.add(new Float1D(0));                                
     di.add(new Float1D(degree));                          
     
