spiral3 = t => {
const p = Math.pow;
let a = 2*Math.PI*loops, l;
if (side > 0) {
l = p(2, side);
a *= p(1 - p((1-t), 1/l), l) - p(1 - p(0.5, 1/l), l);
} else {
l = p(2, -side);
a *= - p(1 - p(t, 1/l), l) + p(1 - p(0.5, 1/l), l);
}
return apollo_coords(a, t);
}