Integral (Spreads) Bin Size quirk

bin size behaviour
i guess the implemented standard is something like that

  • input slices are wrapped until >=Input.Slicecount to meet the bin sizes
  • the whole bin size spread is repeated until it covers >=Input.Slicecount

so first case:
input slicecount 7 - bin size {5,3} results in:
bin 1 {0,1,2,3,4} , bin 2 {5,6,0}

second case:
input slicecount 7 - bin size {2,3} results in:
bin 1 {0,1} , bin 2 {2,3,4} and repeat bin input
bin 3 {5,6} , bin 4 {0,1,2}

if that is correct, integral behaves differently on bin sizing, since the second case only results in 3 bins

IntegralBinBug.v4p (12.4 kB)