feat(examples): add volatility-surface 3D visualization#2322
Merged
Conversation
floor-licker
force-pushed
the
examples/volatility-surface
branch
from
January 4, 2026 01:47
3b9bfd7 to
f75d3fa
Compare
Demonstrates 3D volatility surface rendering using Braille canvas with interactive rotation and zoom controls.
floor-licker
force-pushed
the
examples/volatility-surface
branch
from
January 4, 2026 02:33
f75d3fa to
63bf981
Compare
joshka
reviewed
Jan 4, 2026
joshka
left a comment
Member
There was a problem hiding this comment.
Partial review. Will swing back and do more of a review on this later.
…ng colorgrad crate
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2322 +/- ##
=====================================
Coverage 92.0% 92.0%
=====================================
Files 100 100
Lines 18550 18550
=====================================
Hits 17068 17068
Misses 1482 1482 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
… volatility-surface example
… make angular wrapping more semantic
…nctions, + inline comments
…port for vim hjkl key bindings for navigation
…alculation, move time management into VolatilityEngine for enscapsulation
Member
|
Some extra ideas:
|
…don't restate controls
joshka
approved these changes
Jan 6, 2026
joshka
left a comment
Member
There was a problem hiding this comment.
run vhs publish after generating the gif (or pass --publish) and paste the gif into the PR body, and I think we're pretty much done on this. This looks pretty cool
Co-authored-by: Josh McKinney <[email protected]>
Member
|
This looks amazing. Wow |
orhun
reviewed
Jan 7, 2026
floor-licker
force-pushed
the
examples/volatility-surface
branch
from
January 8, 2026 01:52
3d59d20 to
de6fdd8
Compare
…change I made but rather a dependency update required by CI
orhun
approved these changes
Jan 8, 2026
Member
|
thanks again for your work on this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A design demonstration of a 3D volatility surface rendering using Braille canvas with interactive rotation and zoom controls. I built this for myself for an app I'm currently building but just wanted to share it with the community as well to inspire more 3D perspective terminal widgets in the future.
Description
Adds a new example demonstrating 3D visualization techniques in the terminal. There aren't many examples showing how to represent 3D objects in 2D terminal space so my goal is just to demonstrate more advanced Canvas and Braille rendering techniques for 3D graphics. The example visualizes an implied volatility surface which is a common financial visualization using interactive rotation and zoom controls. You can run the interactive demo for yourself with
cargo run -p volatility-surfacedemo.mov
Technical Highlights
Canvaswidget withMarker::BrailleChecklist
cargo xtask formatcargo xtask cicargo run -p volatility-surfaceRun with:
cargo run -p volatility-surface
Final Demo