changelog

0.6.0

2026-11-29

feat

  • Canonical Python SVG Renderer (``geometor.explorer.render``): Added pure-Python render_model_svg, write_model_svg, and get_static_asset_paths emitting canonical 5-layer SVGs (graphics → highlights → elements → points → labels) with unified --geom-* styling, Liang-Barsky infinite-line clipping, 3-vertex midpoint paths, 8-slot anti-crowding labels, WebKit2GTK-safe userSpaceOnUse markers, and zero inline <script>, covered by tests/test_render.py.

  • Unified ``GeometorStage`` & MathJax v4 Runtime: Extracted shared single-source-of-truth frontend assets (geometor-svg.css, geometor-stage.js, geometor-math.js) and refactored the interactive Flask workbench (app.py, main.js, svg.js, Animate.js, cli.js, index.html) onto GeometorStage (net -2,340 lines).

0.5.7

2026-11-28

feat

  • Toggleable Point Labels & Hover Reveal: Added a Show point labels checkbox in Settings, a sidebar label toggle button, and the L keyboard shortcut (persisted in localStorage, defaulting to off). When off, hovering any point, line, circle, segment, section, polygon, chain, wedge, or GRP group reveals its vertex labels in bold monospace with a rounded canvas-colored halo (paint-order: stroke fill) harmonized with ETC and Levels (golden-section vertices highlighted in gold).

fix

  • WebKit2GTK Section Markers & Hover-Only Layers: Replaced markerUnits="strokeWidth" + unsupported context-stroke SVG markers with explicit markerUnits="userSpaceOnUse" colored markers scaled dynamically in scaleCircles(), and switched #drawing.hide-* rules from visibility: hidden to opacity: 0 so direct canvas hover still fires when sections or elements are hidden.

  • Solid SVG Back-Ring Vertex Highlights: Replaced zero-length polyline marker tricks for point highlights with explicit <circle class="highlight-point"> rings in <g id="highlights"> (3px solid ring outside each point’s border, color-coded for golden sections, regular sections, segments, and selections) and aligned scaleCircles() with preserveAspectRatio="xMidYMid slice".

0.5.6

2026-06-01

fix

  • SVG Reordering Event Loop: Fixed a critical bug where hovering over geometric elements triggered an infinite loop of mouseover/mouseout events due to rapid DOM detachment/reordering. The reordering is now optimized to only occur when an element is not already the topmost child (lastChild), resolving severe interface lag and stuck selection visuals.

  • Ignore Non-Geometric Groups: SVG container groups (points, elements, graphics) are now properly ignored by the hover logic to maintain clean layered hierarchy.

  • Robust Filename Handling: Replaced file extension handling in export code to ensure extensions are stripped and appended correctly.

feat

  • HTML Page Export Format: Added support for exporting constructions as full HTML pages featuring White/Light backgrounds, specifically optimized for high-quality printing and poster outputs.

  • Export Target Overrides: Wrapped print target styles in CSS @media print rules, ensuring correct vector line widths and stroke/scaling overrides when printed from a browser.

0.5.5

2026-01-04

fix

  • Panel Resizing: Fixed a critical layout bug where resizing the elements panel would cause the left sidebar to disappear or the layout to break.

  • CLI Panel Layout: Refactored the CLI panel to be a fixed overlay at the bottom of the screen with a semi-transparent backdrop, resolving previous layout issues.

feat

  • Tools Panel Organization: Introduced section headers (“FILE”, “CONSTRUCT”, “SET”) to the left sidebar for better tool organization and scalability.

0.5.4

2026-01-03

fix

  • Hover Card Positioning: Corrected logic to account for the inverted Y-axis of the SVG. Hover cards now consistently appear in the visual lower-right relative to the element for all types (Points, Lines, Circles, Polygons, Segments, Sections).

0.5.3

2026-01-03

feat

  • Reordered Element Panels: The default view for elements is now the Chronological (SEQ) sequence, followed by Category (CAT) and Groups (GRP) views.

  • Simplified Navigation Labels: Rename the element panel switch buttons to abbreviated labels: SEQ, CAT, and GRP for a cleaner, more focused UI.

changed

  • Set the Chronological view as the active panel on application startup.

0.5.2

2026-01-02

feat

  • Premium Scrollbars: Implemented custom, slim scrollbars for a more refined look and feel.

  • Granular Hover Toggles: Added a new section in the Settings panel to toggle the “Show on hover only” feature for points, lines, circles, sections, and polygons individually.

  • Improved Overflow Handling: Optimized the main window to prevent hover cards from triggering unwanted scrollbars.

fix

  • Point Class Consistency: Ensured all point elements in the SVG have the point class for consistent styling and targeting.

  • Visibility Logic: Refined CSS visibility rules to ensure hovered elements always remain visible, even when their group is hidden.

removed

  • Removed redundant visibility toggle buttons from the category panels in favor of the new granular settings.

0.5.1

2025-12-18

feat

  • UI Redesign: Replaced the top menu bar with a collapsible left sidebar.

  • Zen Mode: Added a toggle (hotkey v) to hide all side panels for a distraction-free view.

  • Animation Panel Toggle: Added a sidebar button to toggle the animation panel, replacing the old checkbox. Animation is auto-enabled when the panel is open.

0.5.0

2025-12-18

feat

  • Implemented CLI Panel: A new text-based interface for interacting with the model.

  • Added Terminal Button to the header and keyboard shortcut (`` ` `` / ~) to toggle the CLI.

  • CLI supports commands for points, lines, circles, polygons, segments, and wedges.

  • Added Command History and basic output logging for the CLI.

0.4.9

2025-12-18

refactor

  • Cleaned up python docstrings and type hints.

  • Formatted code with ruff.

0.4.8

2025-12-18

feat

  • Implemented SVG Export Settings Modal.

  • Added Output Targets: Choose between “Screen” (non-scaling strokes) and “Print” (scaling strokes).

  • Added Sheet Size Selection: Options for Letter (11x8.5”) and Super B (19x13”) when printing.

  • Added Force Light Mode option for exports.

changed

  • Disabled “Animate” checkbox by default on startup.

0.4.7

2025-12-12

feat

  • Implemented Animated SVG Export. Users can now download an SVG that replays the construction sequence when opened in a browser.

  • Added click-to-pause/play functionality to the animated SVG.

0.4.6

2025-12-12

feat

  • Implemented SVG export with embedded styles, allowing users to download the current view as a standalone SVG file.

0.4.5

2025-12-08

docs

  • Improved docstrings in app.py and __init__.py.

refactor

  • Added type hinting to app.py.

0.4.4

2025-12-06

refactor

  • Renamed logging.py to log.py to avoid module name conflicts.

  • Updated app.py to use the new log module.

fix

  • Updated serialize.py to import Polynomial from geometor.model.polynomials.

test

  • Added tests/test_app.py for application testing.

0.4.3

2025-12-06

docs

  • Updated author metadata in pyproject.toml.

  • Cleaned up module docstrings.

chore

  • Updated .gitignore.

0.4.2

  • Refined docstrings and type hinting.

  • Fixed from __future__ import annotations placement.

0.4.1

2025-11-28

refactor

  • Updated model save method call in app.py.

  • Cleaned up imports in serialize.py.

docs

  • Updated module index include path.

0.4.0

2025-10-31

added

  • Added Polynomial element to the model.

  • Added a “Polynomial” button to the UI to construct polynomials.

  • Implemented SVG rendering for polynomials using dynamic polylines.

  • Added polynumbers.md with background information.

0.3.17

2025-10-30

fixed

  • Fixed an issue where constructing an angle bisector could cause a recursion error.

0.3.16

2025-10-29

feat

  • Adds a button to the main toolbar to toggle the ‘ancestors on hover’ feature.

fixed

  • Fixes an issue where lines and circles would not be visible during ancestor hover highlighting.

  • Adds ancestor data to the model serialization to enable client-side ancestor highlighting.

0.3.15

2025-10-29

feat

  • Adds ancestor highlighting on hover.

0.3.14

2025-10-27

changed

  • Updates documentation.

0.3.13

2025-10-27

feat

  • Flips the svg y-axis to conform to standard geometry coordinate systems.

fixed

  • Adds error handling to construction endpoints.

0.3.12

2025-10-27

refactor

  • Improves dependents retrieval and serialization.

0.3.11

2025-10-25

changed

  • Rethinks the placement of the line hover cards when hovering on the table - it should be outside the bounding box of the defining points fo the line, as we are doing with sections and polygons.

0.3.10

2025-10-25

fixed

  • Fixes polygon hover highlight color.

0.3.9

2025-10-25

added

  • Adds a settings modal with a theme toggle.

0.3.8

2025-10-25

fixed

  • Fixes analysis toggle button initial state.

0.3.7

2025-10-25

added

  • Adds a button to the UI to toggle divine analysis.

0.3.6

2025-10-25

changed

  • Improves visual feedback for enabled and disabled buttons.

  • Enabled buttons now have a cyan border.

  • All buttons have a cyan background on hover, except when disabled.

0.3.4

2025-10-24

added

  • Adds an angle bisector construction from three selected points.

  • Adds a “bisector” class to perpendicular and angle bisector lines.

  • Adds a dash-dot style for the “bisector” class.

changed

  • Changes the guide element color to orange.

0.3.3

2025-10-24

added

  • Adds animation timeline controls: start, end, and step buttons.

  • Adds keyboard shortcuts (arrow keys) for timeline controls.

0.3.2

2025-10-24

added

  • Adds a perpendicular bisector construction from two selected points.

changed

  • Updates the guide style to a smaller dot stroke.

0.3.0

2025-10-24

added

  • Added an animation timeline to visualize the construction process step-by-step.

  • Added a play/pause button and a scrubbable slider to control the animation.

  • Added a checkbox to enable or disable the animation feature.

0.2.15

2025-10-24

added

  • Added GSAP and Animate.js to prepare for construction animation.

0.2.14

2025-10-24

added

  • Adds a keymap f to fit the construction in the available view.

0.2.13

2025-10-24

added

  • Adds sorting functionality to the ‘Sizes’, ‘Chains’, and ‘Points’ tables in the ‘Groups’ view.

0.2.12

2025-10-24

added

  • Added spread information to the polygon hover card.

  • Added coefficients to the line hover card.

  • Added center coordinates (h, k) and radius (r) to the circle hover card.

changed

  • Improved the layout and styling of the hover card subtables for a more compact and readable display.

0.2.11

2025-10-24

fixed

  • Fixed a race condition in the UI that could cause an error when hovering over elements before the model data was fully loaded.

  • Fixed a bug in the serialization of segments that caused an error when creating new segments.

changed

  • Refactored the serialization logic to be more efficient and maintainable.

  • Segments are now rendered with markers and a light green stroke to distinguish them from other elements.

0.2.10

2025-10-23

added

  • Adds keymaps for the following actions:

  • l: construct line

  • c: construct circle

  • p: set point (opens dialog)

  • s: set segment

  • S: set section

  • y: set polygon

  • Adds a center panel in the status bar to show the ID of the currently selected points.

0.2.9

2025-10-23

added

  • Added a modal dialog for creating new models with options for different templates (blank, default, equidistant).

  • Added logging for file save and load operations.

fixed

  • Fixed an issue where the initial model was loaded twice on startup.

0.2.8

2025-10-23

fixed

  • Fixed an issue where segment constructions were not being properly loaded and displayed.

0.2.7

2025-10-23

removed

  • Removed old construction files to support the updated serialization format from the model library.

0.2.5

2025-10-22

changed

  • Refactored JavaScript codebase to a modular architecture to resolve dependency issues.

  • Implemented a dark theme for all modal dialogs.

  • Added robust error handling for algebraic expressions in point creation.

0.2.4

2025-10-22

changed

  • Made dark theme the default style.

  • Theme toggle now only changes the theme for the svg.

0.2.3

2025-10-22

added

  • Added a guide property toggle in the UI for points, lines, and circles.

  • Added styling for guide elements to distinguish them visually.

0.2.1

2025-10-20

changed

  • Implemented a centralized logging system to provide clear, sequential feedback on construction and analysis operations.

  • Refactored the application to use the new synchronous analysis hook from the geometor-model library.

  • Added a file logger (explorer.log) for detailed debugging.

0.1.0

2025-10-19

changed

  • Updated point hover card to use a multi-column layout for algebraic and decimal values.

  • Updated line hover card to display segment length.