diff --git a/frontend/textbooks/geometry_8_ch1.html b/frontend/textbooks/geometry_8_ch1.html index a86be4a..05ec324 100644 --- a/frontend/textbooks/geometry_8_ch1.html +++ b/frontend/textbooks/geometry_8_ch1.html @@ -2826,11 +2826,11 @@ function buildP7(){
- - - - - + + + + + 90° 90° @@ -2858,6 +2858,11 @@ function buildP7(){
+ + + + + @@ -2970,10 +2975,18 @@ function buildP7(){ s+=''; s+=''; s+=''; - // right-angle marks - const sq=8; - s+=''; - s+=''; + // right-angle marks — proper L-shape at all 4 corners pointing INSIDE the rectangle + const sq=9; + const xl=Math.min(Ra.x,Rb.x), xr=Math.max(Ra.x,Rb.x); + const yt=Math.min(Ra.y,Rc.y), yb=Math.max(Ra.y,Rc.y); + // bottom-left corner + s+=''; + // bottom-right corner + s+=''; + // top-right corner + s+=''; + // top-left corner + s+=''; const labels=['A','B','C','D']; const pts=[Ra,Rb,Rc,Rd]; pts.forEach((v,i)=>{ const m=(i===2); @@ -3697,11 +3710,11 @@ function buildP10(){
- - - - - + + + + + @@ -3751,11 +3764,11 @@ function buildP10(){ a a√2 - - - - - + + + + + P = 4a @@ -3785,6 +3798,21 @@ function buildP10(){ + + + + + + + + + + + + + + +
`); /* --- INTERACTIVE 1: SVG-квадрат со слайдером --- */ @@ -3882,11 +3910,19 @@ function buildP10(){ // diagonals s+=''; s+=''; - // right-angle at O + // right-angle at diagonal intersection O const sq=7; s+=''; - // right-angle marks at corners - s+=''; + // right-angle marks at all 4 corners — proper L-shape pointing INSIDE the square + const m=8; + // A = bottom-left (cx-half, cy+half) + s+=''; + // B = bottom-right (cx+half, cy+half) + s+=''; + // C = top-right (cx+half, cy-half) + s+=''; + // D = top-left (cx-half, cy-half) + s+=''; // center dot s+=''; // side labels