(maxima.info)Definitions for Koch snowflakes
60.4 Definitions for Koch snowflakes
====================================
-- Function: snowmap (<ent>, <nn>)
Koch snowflake sets. Function 'snowmap' plots the snow Koch map
over the vertex of an initial closed polygonal, in the complex
plane. Here the orientation of the polygon is important. Argument
<nn> is the number of recursive applications of Koch
transformation; <nn> must be small (5 or 6).
Examples:
(%i1) load("fractals")$
(%i2) plot2d([discrete,
snowmap([1,exp(%i*%pi*2/3),exp(-%i*%pi*2/3),1],4)])$
(%i3) plot2d([discrete,
snowmap([1,exp(-%i*%pi*2/3),exp(%i*%pi*2/3),1],4)])$
(%i4) plot2d([discrete, snowmap([0,1,1+%i,%i,0],4)])$
(%i5) plot2d([discrete, snowmap([0,%i,1+%i,1,0],4)])$
automatically generated by info2www version 1.2.2.9