A more treelike three

5 Views
Find Similar (BETA)Download
Author name
Anette Rana
Source
Sketchfab
Polygon Count
3,825
Release Date
2016-10-17
License
CC BY 4.0
treeexperimentcodemayatest

Asset Overview

MEL script: int $loopRounds = 127; int $loopCounter = 0; float $widthF = .5; // make initial shape polyCylinder -n "darwin0" -r $widthF -h 4 -sx 5 -sy 1 -sz 1 -ax 0 1 0; move -r 0 -2 0 darwin0.scalePivot darwin0.rotatePivot ; for ($loopCounter; $loopCounter < $loopRounds; $loopCounter++) { select ("darwin"+$loopCounter); duplicate; move -r -os -wd 0 4 0; rotate -r -os -fo (rand(-45, 45)) 0 (rand(-45, 45)); scale -r $widthF 1 $widthF; select ("darwin"+$loopCounter); duplicate; move -r -os -wd 0 4 0; rotate -r -os -fo (rand(-45, 45)) 0 (rand(-45, 45)); scale -r $widthF 1 $widthF; $widthF = $widthF - 0.0000000000001; print $widthF; }