Sep-30-2020, 07:28 AM
Quote:If you are using "peeling the onion" approach then number of layers (cycles) can be determined with:Interesting, obviously i do something similar, but this is more "straightforward".
It counts the centre as a layer; this is where i cheat a little. i know where the centre is, so i put the
first block in the middle outside of any loop; one layer less to worry about. Hence the odd numbers. :-)
From that i can derive where the inner layer's start is. (But it needs a lot more work.)
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.