Spirale di quadrati

A ogni passo i quadrati ruotano di 45°, si riducono di dimensione e diventano più chiari

startshape SPIRALE
shape      SPIRALE
{
    SQUARE []
    SPIRALE
    [
        x           0.5
        y           0.5
        rotate     45.0
        size        0.9075
        brightness  0.1
    ]
}

A colori

Il parametro hue aumenta di 30 a ogni passo

startshape SPIRALE 
[
    brightness 1 
    saturation 1
]
shape SPIRALE
{
   SQUARE []
   SPIRALE
   [ 
      x       0.5
      y       0.5
      rotate 45.0
      size    0.9075
      hue    30.0
   ]
}

Due spirali con angoli opposti

startshape SPIRALE 
[
    brightness  1
    rotate     45
    saturation  1
]
shape SPIRALE
{
    SPIRALE1 []
    SPIRALE2 []
}
shape SPIRALE1
{
    SQUARE   []
    SPIRALE1
    [
        x        0.5
        y        0.5
        rotate +45.0
        size     0.9075
        hue     10.0
    ]
}
shape SPIRALE2
{
    SQUARE []
    SPIRALE2
    [
        x        0.5
        y        0.5
        rotate -45.0
        size     0.9075
        hue     10.0
    ]
}

Lascia un commento