[<<][rai][>>][..]
Sat Nov 29 16:13:30 EST 2014

Bresenham phasor/pulsor?

Is a phasor enough?  No.  What is needed is a pulsor: something that
sends a 1 on transition and 0 otherwise.  Let's add that to the
library.

What this needs is a different primitive.  `wrap01' as used in phasor
is not primitive, or "primitive enough".  There needs to be a wrap01
that also produces the carry bit.  I.e. div/rem.

I'm already using:

(define (wrap01 x) (- x (floor x))) 




[Reply][About]
[<<][rai][>>][..]