New controls have been added, now we can move the svg “paper”. To do that, I change the viewBox with JS. I’ve tried to add zoom also, again making use of the viewBox property, but changing viewbox width and height makes snap fails. I have some idea about it. I think snap it’s attached to the screen coordinates, not to svg coordinates. That explain a lot of things, even way the initial displacement have to be .5.
The controls isn’t what I really want, I want to drag the paper to move it, but It’s a first step.