On 08/09/2011 15:39, Andy Farnell wrote:
Try a [div] [mod] chain
Four digits base 3 would be
base 10 | [t f f]_[mod 3]_ D0 | [div 3] | [t f f]_[mod 3]_ D1 | [div 3] | [t f f]_[mod 3]_ D2 | div 3] | [t f f]_[mod 3]_ D3 | etc. for more digits
On Thu, 8 Sep 2011 15:19:03 +0200 tim vetstimvets@gmail.com wrote:
Hello, Does anyone have an example of how to do ternary counting in pd? 00 01 02 10 11 12 20 21 22 ...etc
thanks, Tim
Maybe also something like this (still using [mod 3] and [div 3] as Andy suggested)?
Lorenzo