from onepic import * F_='font-family="Inter, Helvetica, Arial, sans-serif"' hM=hgt(2.41e17); hF=hgt(4.56e22); hG=hgt(8.63e27); hD=hF ex=[]; lines=[] for k,ph in enumerate([30,150,270]): a=ph*D2R; rr=0.38*rcube(hM,a); p=np.array([rr*math.cos(a),rr*math.sin(a),hM]) ex.append(dict(p=p,r=11,fill="#e67e22",stroke="#7a3e00",label=f"MMG{k+1}" if k<3 else "")) rd=0.30*rcube(hD,a); pd=np.array([rd*math.cos(a),rd*math.sin(a),hD]) ex.append(dict(p=pd,r=8,fill="#c0392b",stroke="#6e1e16",label=f"D{k+1}" if k==0 else "")) lines.append((p,pd,"#e67e22","4 3")) ax=lambda h: np.array([0,0,h]) lines.append((ax(hG),ax(hF),"#8e3b8e","8 5")); lines.append((ax(hF),ax(hM),"#8e3b8e","8 5")) ex.append(dict(p=ax(hF),r=7,fill="#fff",stroke="#c0392b",label="",lc="#c0392b")) W,H=1300,1480 s=render((-35,22),W,1300,mirror=True,marks=True,labels=True,extra=ex,extra_lines=lines) s=s.replace(f'viewBox="0 0 {W} 1300" width="{W}" height="1300"',f'viewBox="0 0 {W} {H}" width="{W}" height="{H}"').replace(f'',f'') head=(f'' f'Where the MMG sits in the one picture' f'Three MMGs (orange), one per family, on the turned-over (hidden) half; their coloured partners D (red) higher up at the meeting point.') rows=["Orange: the three MMGs, 2.4×10⁸ GeV each. Weak charge, no colour, spin ½, charges 0 and ±1. Both-handed (vector-like).", "Red: the coloured partners D at the meeting point, 4.6×10¹³ GeV (2×10⁵ heavier). Orange dashes: each MMG with its own D.", "Purple dashes on the centre line: the mirror. The grain sits as far above the meeting point as the MMGs sit below it.", "They point the opposite way to our three families (30°, 150°, 270° against 210°, 330°, 90°): the turned-over half.", "Where the strengths change: above the MMG height the weak line bends, so all three lines meet at the meeting point."] L=[f'{t}' for i,t in enumerate(rows)] foot=f'© 2026 Matthew Gelfman · trpgphysics.org · weights from the force strengths (two loop) and the grain mirror' s=s.replace('',head+"".join(L)+foot+'') open("mmg.svg","w").write(s)