Changes in version 0.5.3¶
New Features¶
Circle.normalmade optional —normalnow defaults toDirection(0, 0, 1)(the z-axis) when not provided. Creating aCirclewithout an explicit normal is now more ergonomic for 2D use cases. Import frompytanga.geometry.entities.
Bug Fixes¶
-
Unified WebSocket startup/reconnect flow across
start(),run(), andVisualizerApp.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
PointPathrenderer in HTML/glTF exports — thePointPathrenderer was missing from export bootstrap lists, causingPointPathentities 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.mdplanning document todev/todos/detailing the WebSocket connection fix strategy.