Skip to content

Changes in version 0.5.3

New Features

  • Circle.normal made optional — normal now defaults to Direction(0, 0, 1) (the z-axis) when not provided. Creating a Circle without an explicit normal is now more ergonomic for 2D use cases. Import from pytanga.geometry.entities.

Bug Fixes

  • Unified WebSocket startup/reconnect flow across start(), run(), and VisualizerApp.run(). All three entry points now use the same connection logic, eliminating race conditions and inconsistent timeout behavior between the different startup paths.

  • Export 2D views as orthographic in standalone HTML — 2D scenes exported to standalone HTML now use an orthographic camera instead of perspective, ensuring correct visual representation of flat geometry.

  • Render title overlays with KaTeX in HTML exports — title overlays containing KaTeX math expressions (e.g. $P_1$) are now correctly rendered in standalone HTML exports.

  • Render title overlay with KaTeX in live viewer — the live viewer now also renders title overlays with KaTeX, matching the HTML export behavior.

  • Include PointPath renderer in HTML/glTF exports — the PointPath renderer was missing from export bootstrap lists, causing PointPath entities to be silently omitted from standalone HTML and glTF exports. The renderer is now registered in all export paths.

Doc Changes

  • Added viz-websocket-startup-fix.md planning document to dev/todos/ detailing the WebSocket connection fix strategy.