LESSON 1 – CHAPTER 2

Le figure primitive con l’uso dei parametri principali

Il gruppo di immagini in alto a destra è ruotato di 15° e ridotto al 25%

startshape CHAPTER2

shape CHAPTER2
{
    SQUARE     [                                             ]
    SQUARE     [ x +2      brightness 0.33 rotate 30           ]
    SQUARE     [      y +2 brightness 0.33           size 0.75 ]
    SQUARE     [ x +2 y +2 brightness 0.66 rotate 45 size 0.75 ]
    FOURSQUARE [ x +4 y +4                 rotate 15 size 0.25 ]
}

shape FOURSQUARE
{
    SQUARE [                                    ] 
    SQUARE [ x +3 y +3 brightness 0.66 size 2 4 ]
    SQUARE [ x -3 y +3 brightness 0.33 size 4   ]
    SQUARE [ x -3 y -3 brightness 0.66 size 4 2 ]
    SQUARE [ x +3 y -3 brightness 0.33 size 2   ]
}

Lascia un commento