I am trying to shade cubes in jxg graph based on a slider value but skip space in-between the cubes. https://jsfiddle.net/timpersson/kj1pqct5/
var b3 = JXG.JS