diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-21 14:49:56 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-21 14:49:56 -0700 |
| commit | 2222d8a5fac6850d7d924e9404a44a65cb10f68f (patch) | |
| tree | 2fe934024f77dcc44ec52aed9c5fe8824b535e4e /frontend/public/design-system/icons/dollar.svg | |
| parent | 25360aacb8aab46e7e579707eb9704759af9536d (diff) | |
fix: rewrite polar smile with correct closed-lens geometry
- Piecewise angleFor: puts go CCW (ATM→bottom), calls go CW (ATM→bottom)
so both wings meet at the same bottom point and the path closes with Z
- Dynamic ivToR computed from actual IV range across all expiries
(inner floor 60px, outer wall 240px) instead of hardcoded percentages
- IV rings: 5 evenly-spaced steps between real ivLo/ivHi
- Curve fill: rgba(194,170,122,0.12) matching design reference
- Non-selected curves: index-based styles (solid fg-1, then dashed fg-2/3/4)
- Eye price at font-size 30, label lowercase 'call · fair'
- Dashed marker-line spoke from center to selected-K dot
- Clicking a curve switches the selected expiry via onPickT
- Strike ticks use round multiples of a price-adaptive step
- Fix IvHeatmap xlabs duplicate key error (key by index, not rounded K)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'frontend/public/design-system/icons/dollar.svg')
0 files changed, 0 insertions, 0 deletions
