Redesign boomerang shape as thin 120-degree crescent

This commit is contained in:
2026-08-19 10:28:09 +02:00
parent 18d8654d9d
commit 5ceb37fdb4
+5 -4
View File
@@ -17,9 +17,10 @@ export class Boomerang {
constructor(scene: THREE.Scene) { constructor(scene: THREE.Scene) {
const shape = new THREE.Shape(); const shape = new THREE.Shape();
const outer = 1.05; // Dünner Sichel-Bumerang: Bogen (~120° = 1/3 Kreis) mit schmaler Bahn
const inner = 0.5; const outer = 0.75;
const half = (58 * Math.PI) / 180; const inner = 0.47;
const half = (60 * Math.PI) / 180;
const capR = (outer - inner) / 2; const capR = (outer - inner) / 2;
const mid = (outer + inner) / 2; const mid = (outer + inner) / 2;
@@ -32,7 +33,7 @@ export class Boomerang {
shape.absarc(0, 0, inner, half, -half, true); shape.absarc(0, 0, inner, half, -half, true);
shape.absarc( shape.absarc(
mid * Math.cos(-half), mid * Math.sin(-half), mid * Math.cos(-half), mid * Math.sin(-half),
capR, -half + Math.PI, -half, true capR, -half + Math.PI, -half, false
); );
shape.closePath(); shape.closePath();
const geom = new THREE.ExtrudeGeometry(shape, { const geom = new THREE.ExtrudeGeometry(shape, {