Quote:
Originally Posted by lch
That might make sense, it would be pretty easy to get implemented in a for/while-loop. A better word may be concentric (quarter)circles than a spiral, if you want to be exact.
|
What they are basically doing (in my opinion)
A: Trunc (SQRT(units in formation))
B Form square
x..
...
1.x where x is the trunc'd sqrt.
C. Fill remaining:
The way to test this is to build 16of one unit, then 1 each of other units.