plan = {
const wallHeight = 300;
const a = 4000;
const p = new GalleryPlan(a, a, 0.1);
const s = a / (Math.sqrt(2) + 1) * Math.sqrt(2) / 2;
const eps = 1;
p.wallAttrs = {
color: `linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,185,1) 100%)`,
border: '1px solid black',
};
p.jumpTo(0, s);
p.wallTo(s, 0);
p.wallTo(a - s, 0);
p.wallTo(a, s);
p.wallTo(a, a - s);
p.wallTo(a - s, a);
p.wallTo(s, a);
p.wallTo(0, a - s);
p.wallTo(0, s);
const k = 0.33;
p.jumpTo(a * k, a * k);
p.wallTo(a - a * k, a * k);
p.jumpTo(a / 2, a * k - eps);
p.put(-90, '9 ', StaticImage, {
url: images.a,
height: wallHeight,
});
p.jumpTo(a / 2, a * k + eps);
p.put(90, ' 10', StaticImage, {
url: images.b,
height: wallHeight,
});
p.jumpTo(s / 2 + eps, s / 2 + eps);
p.put(45, '1', StaticImage, {
url: images.a,
height: wallHeight,
});
p.jumpTo(a - s / 2 - eps, s / 2 + eps);
p.put(180 - 45, '3', StaticImage, {
url: images.b,
height: wallHeight,
});
p.jumpTo(s / 2 + eps, a - s / 2 - eps);
p.put(-45, '7', StaticImage, {
url: images.a,
height: wallHeight,
});
p.jumpTo(a - s / 2 - eps, a - s / 2 - eps);
p.put(180 + 45, '5', StaticImage, {
url: images.b,
height: wallHeight,
});
p.jumpTo(a / 2, eps);
p.put(90, '2', StaticImage, {
url: images.a,
height: wallHeight,
});
p.jumpTo(a / 2, a - eps);
p.put(-90, '6', StaticImage, {
url: images.b,
height: wallHeight,
});
p.jumpTo(a - eps, a / 2);
p.put(180, '4', StaticImage, {
url: images.a,
height: wallHeight,
});
p.jumpTo(eps, a / 2);
p.put(0, '8', StaticImage, {
url: images.b,
height: wallHeight,
});
p.jumpTo(a / 2, a * 3 / 4);
p.put(-90, '3d', StaticImage, {
url: images.a,
height: wallHeight,
}, 10);
p.jumpTo(a / 2, a / 2);
return p;
}