path
Class KochSnowflakeExample
java.lang.Object
path.KochSnowflakeExample
public class KochSnowflakeExample
- extends Object
This implements the famous
Koch Snowflake.
Method Summary |
static void |
main(String[] args)
Print the first few polygonal approximations of the Koch Snowflake. |
static SubstitutionFractal |
snowflake()
Return the Koch Snowflake as a SubstitutionFractal. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KochSnowflakeExample
public KochSnowflakeExample()
snowflake
public static SubstitutionFractal snowflake()
- Return the Koch Snowflake as a SubstitutionFractal.
main
public static void main(String[] args)
- Print the first few polygonal approximations of the Koch Snowflake.
Java Tutorial for Mathematics Students