Class ChaikinCut

java.lang.Object
micycle.pgs.commons.ChaikinCut

public class ChaikinCut extends Object
Chaikin’s corner-cutting algorithm, which is used to perform polygon smoothing. The algorithm involves repeatedly generating a new curve by cutting corners off the original (based on some fixed ratio).
Author:
Manohar Vanga
  • Method Details

    • chaikin

      public static processing.core.PShape chaikin(processing.core.PShape shape, float ratio, int iterations)