![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ1yprsfr1Fc_57kecn_R0j0UgSIKZ3MpiRlk6CO0A00a43mqcjkR4j2MubGVIbd0YAOc4Pt0M_0euSKreDMahIz-k7NiUI_PrNviRjZJJ_We73_ISYnnqcNk7m5sPsKpfncAUuw/s320/bricks2_d.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZC2s-sIRTtRul4pt-oD-RwDO-LZD-11hVkxXsmkyHqTd3JmCve3a18XpG3Ytro62lxOfVRdDgHzI2YQ9qYUHJEmcghrIIKb4E-AK1e2tsbpKjxF_fYePoysY6zYxVIccbdkC0eg/s320/bricks3.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj09n57ccQ2NMit3csGRf-1pqd2evOFI-TbjQhfcpppVVLHLxj9AvUy5JNsmy6FFPa02RCDGAHswkC0h0djv64VtP5ROtGmUwsZW7576GY-4nRBaSYHBptx9JGyoVKTqnMADvs5Lg/s320/bricksspiral.jpg)
for ($i = 0; $i< 30; $i++) {
for ($j = 1; $j<16; $j++) {
$rx = rand(-3, 2);
$rz = rand(-4,4);
////for change in length of brick
int $l;
if ($i < 10) {
$l = $i ;
} else if ($i >= 10) {
$l = ($l-1);
}
polyCube -w 4 -d 1 -h 1; //for brick length variation, change -w "4" to "$l";
move $rx 0 $rz;
}
select -all ;
group;
rotate 0 10deg 0;
move -r 0 1 0;
}
Download: simple script | interfaced_script
3 comments:
Thank You for Posting also the Script, really appreciate!!
i want to try it Now!
/ dag /
i3awrni ba6ni when i see how simple computer language has become in comparison to ancient c++ which is what i had to learn , and now reading this .. ouch the script is just as beautiful as the result.
hehe beautiful comment too, thanks :)
Post a Comment