From e26b6f6face542c8173a32aa8fe1b6154c7ff369 Mon Sep 17 00:00:00 2001 From: erjemin Date: Sun, 30 Aug 2026 23:28:12 +0300 Subject: [PATCH] =?UTF-8?q?add:=20=D0=B3=D0=B0=D0=BB=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D1=8F=20(2)=20=D0=BE=D0=B4=D0=B8=D0=BD=D0=BE=D1=87=D0=BD=D0=B0?= =?UTF-8?q?=D1=8F=20=D0=BA=D0=B0=D1=80=D1=82=D0=B8=D0=BD=D0=BA=D0=B0,=20?= =?UTF-8?q?=D1=81=D0=BB=D0=BE=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hypn0/hypn0_site/services/halftone.py | 2 +- hypn0/templates/gallery/detail.html | 30 +++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/hypn0/hypn0_site/services/halftone.py b/hypn0/hypn0_site/services/halftone.py index 3862dc7..bf6b0f3 100644 --- a/hypn0/hypn0_site/services/halftone.py +++ b/hypn0/hypn0_site/services/halftone.py @@ -358,7 +358,7 @@ def analyze_svg_structure(svg_content: str) -> dict: # Наукообразные показатели total_oscillators = use_count if use_count > 0 else defs_count bytes_per_quantum = round(total_bytes / max(total_oscillators, 1), 1) - density = round(total_oscillators / max((width * height) / 100000.0, 1.0), 2) + density = round(total_oscillators / max((width * height) / 1048576.0, 1.0), 2) return { "total_bytes": total_bytes, diff --git a/hypn0/templates/gallery/detail.html b/hypn0/templates/gallery/detail.html index a965e4a..6a957ba 100644 --- a/hypn0/templates/gallery/detail.html +++ b/hypn0/templates/gallery/detail.html @@ -66,7 +66,7 @@ {{ item.s_title }}

- Зафиксировано в пространстве: + Зафиксировано в пространстве:

@@ -178,7 +178,7 @@ @@ -223,7 +223,7 @@