On around Feb 16, 2006, at 22:19, bbarros said something like:
> so.. the solution to use "brownian" with intergers is to add 1 to the
> maximal value?
Well, the Brownian model doesn't really work with two integers anyway.
The brownian abstraction is trying to simulate calculations in the real
(float) domain by dividing the actual min/max into 65000 subdivisions.
That won't fool a mathematician, but is probably good enough for a lot
of uses in Max. If you're working with floats.
I'm not sure what sort of an effect you're actually after.
If you're looking for some kind of coin-flipper, perhaps with different
probabilities for "heads" and "tails", you can build something
following the examples from the early Max random objects tutorials. Or
just take lp.bernie (Litter Starter Pack, URI below).
If you want something else... well, you can probably also do it with
I am also not quite sure what you are after. The interesting thing
about "brownian" is the fact that you can adjust the distance between
choices. If you just want a stream of random numbers there are
several max objects that serve this purpose: random, urn, drunk.
RTC-lib and Litter give you many more options for generating events
based on random operations.
- you start at 0.5
- then you create a random normalized float (lets just pretend there would be a max object called [noise] for this)
- then you scale the random float down to the max motion distance the user entered
- then you accumulate that to t-1
- da capo