435
edits
Glozt100sob (talk | contribs) |
Glozt100sob (talk | contribs) |
||
Line 405: | Line 405: | ||
3) Create salamis() function by drawing ellipses and put little white spots on around salamis' surface. <br/>'''Function''': ''ellipse()'',''fill()'', ''point()'', random() <br/><br/> | 3) Create salamis() function by drawing ellipses and put little white spots on around salamis' surface. <br/>'''Function''': ''ellipse()'',''fill()'', ''point()'', random() <br/><br/> | ||
4) Spread salamis around the pizza with random() function BUT not further than pizza flour edge(2*PI*radian). Furthermore, we could use ''For loop'' or ''While loop'' iteration to define a number of salamis we need. <br/>'''Function''': ''salamis()'', ''random()'' <br/><br/> | 4) Spread salamis around the pizza with random() function BUT not further than pizza flour edge(2*PI*radian). Furthermore, we could use ''For loop'' or ''While loop'' iteration to define a number of salamis we need. <br/>'''Function''': ''salamis()'', ''random()'' <br/><br/> | ||
5) Repeat 3) and 4) to drop more tomatoes, chilis, basils and mozarella cheese layer by layer. <br/>'''Function''': ''tomatoes()'', ''chilis()'', ''basils()'', ''mozarella()'', ''random()''<br/><br/> | 5) Repeat 3) and 4) to drop more tomatoes, chilis, basils and mozarella cheese layer by layer. Moreover, we could rotate assets to make it more real pizza by rotating function.<br/>'''Function''': ''tomatoes()'', ''chilis()'', ''basils()'', ''mozarella()'', ''random()'', ''rotate()''<br/><br/> | ||
6) Enjoy your Pizza Chilino :) | 6) Enjoy your Pizza Chilino :) |
edits