You can try moving the canvas element back into 3D space on its z axis to avoid cropping. For example, add these properties to CSS rules:
.animateVSS{ -webkit-transform-style: preserve-3d; transform-style: preserve-3d; } #myCanvas{ -webkit-transform: translateZ(-20000px) rotateY(0.1deg); transform: translateZ(-20000px) rotateY(0.1deg); }
The numbers -20000 for translateZ are arbitrary in the above example. Play with them until you find a more useful value, but this is the starting point of OK. It is associated with the perspective parameter, which, if set up, will also affect what value is used for the z-position.
You can probably do your best using the -webkit-prefixed options, as this only affects Safari, but for the future you might also need a non-fixed one.
You can also remove the z-index for myCanvas, since it has a typo in it, and if fixed, if it appears on top.
Violin example
source share