# Hector_Tudors.js — domeHeadShell() (satır 1288) [← Hector_Tudors.js](index.md) · [← Master](../../wiki.md) ```javascript function domeHeadShell(w, cx, cy, cz, R, twist) { var bands = 4; for (var b = 1; b < bands; b++) { var phi = (b / bands) * Math.PI - Math.PI / 2; var rr = R * Math.cos(phi), yy = cy + R * Math.sin(phi); var per = Math.max(4, Math.floor(rr * 1.2)); for (var j = 0; j < per; j++) { var a = (j / per) * Math.PI * 2 + twist + b * 0.4; var x = cx + Math.cos(a) * rr, z = cz + Math.sin(a) * rr; if ((b + j) % 2 === 0) showHead(w, x, yy, z, 1.0, 2); fx(w, "portal", x, yy, z, 1, 0, 0, 0, 0); } } } ```