This page uses a modified version of AnimCube to show the hidden facelets with a back view.
if (parNode.id == 'c2') initialPosition = 'rrdddddddddd';
if (parNode.id == 'c2') return;
var rect = document.getElementById('ca1').getBoundingClientRect();
if (x < left || x > left + width / dpr ||
mousedownId = e.target.parentNode.id; if (mousedownId != 'c1' && mousedownId != 'c2') mousedownId = 'c1';note: also declare global variable mousedownId
if (lastX > width) return;
var dir = (parNode.id == mousedownId) ? 1 : -1; vNorm(vAdd(eye, vScale(vCopy(eyeD, eyeY), dy * 0.016 * dir)));