» BinSize
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

BinSize

English | Russian | Italian

Spectral Nodes have a pin called BinSize. This determines the output slice count. A BinSize of 2 for example means that the incoming spread is divided in two bins, and these bins are processed individually. Note that if the BinSize is no divisor of the input spread count, the input spread gets repeated as needed.

Example

 (Value Spectral) adds up the slices of an incoming spread and builds a new spread.

Positive BinSizes

"BinSize = 4" means that bins of four slices (0, 1, 2, 3) are being added.
The sum of those four values will be the first slice of the new spread.
The sum of slices 4, 5, 6 and 7 then will be the second slice of the new spread...

Negative BinSizes

The default "BinSize = -1" means the same as "BinSize = (SpreadCount of Input Spread)". With this the resulting spread is guaranteed to be of SpreadCount 1.

A BinSize of -2 means the resulting spread will be of count 2, a BinSize of -3 leads to a resulting spreadcount of 3 and so on. In those cases the input-spread is divided into abs(BinSize) bins. For example with an input spreadcount of 9 and a BinSize of -3 the input-spread is divided into 3 bins, ie. slice 0, 1 and 2 make the first slice on the output, slices 3, 4 and 5 make the 2nd slice on the output and slices 6, 7 and 8 the last.

Tutorial

seehttp://legacy.vvvv.org/tiki-index.php?page=User+Tutorials#BinSize_Tutorial_v4p for a BinSizeTutorial.

Tip

In most cases the BinSize-pin also accepts spreads as input.

anonymous user login

Shoutbox

~3h ago

graphicuserinterface: @zepi:skynet is becoming self aware

~19h ago

flateric: Thanks devvvvs, I owe you a few bananas next time we meet :)

~2d ago

kiilo: @rexmtl im going to foulab later ...

~2d ago

kiilo: @wxmtl YES im in Montreal please contact me in the IRC chat or skype

~2d ago

rexmtl: I need help learning VVVV. Anyone in Montreal willing to help> I'm desperate

~2d ago

mrboni: Ah haahh. So many contributions, so little time.. Thanks guys!