` 1 `**startshape **pentaflake
2 **background** {**h** 220 **sat** 0.5 **b** 0.1 **}**
3
4 **rule** pentaflake{
5 pentagon {**}**
6 5 ***** { **r** 72 **}** pentaflake { **h** **-**.8 **sat** .3 **b** .8 **s** .378 **y** .612 **r** 72 **}**
7 **}**
8
9 **path** pentagon{
10 **MOVETO**{**x** 0 **y** 1**}**
11 **LINETO**{**x** (**-**.25*******sqrt**(10 **+** (2*******sqrt**(5)))) **y** (.25*****(**sqrt**(5) **-** 1))**}**
12 **LINETO**{**x** (**-**.25*******sqrt**(10 **-** (2*******sqrt**(5)))) **y** (**-**.25*****(**sqrt**(5) **+** 1))**}**
13 **LINETO**{**x** (.25*******sqrt**(10 **-** (2*******sqrt**(5)))) **y** (**-**.25*****(**sqrt**(5) **+** 1))**}**
14 **LINETO**{**x** (.25 ***** **sqrt**(10 **+** (2 ***** **sqrt**(5)))) **y** (.25 ***** (**sqrt**(5) **-** 1))**}**
15 **CLOSEPOLY**{**}**
16 **FILL**{**h** 360 **b** .2**}**
17 **STROKE**{**width** .01 **b** **-**1**}**
18 **}**
19
20

Here I have used the fill path command to make the enclosed polygon behave more like the primitive shapes, circle,square & triangle.

## No comments:

## Post a Comment