Open lukego opened 1 year ago
This was a great read, thank you for putting in the time to blog about this. It's a good entry point for those of us that want to explored this sort of thing a bit more, particularly if we have no familiarity with the topic.
kons-9, the 3D IDE in Lisp, really came in handy this week for ad-hoc data visualization while debugging a Sequential Monte Carlo (aka particle filter) simulation.
It feels like a superpower to load a 3D modeling environment directly into the process where my simulator is running and to fluidly insert new data into the visualization as it is being generated. There turned out to be a whole lot of diagnostics I could run just by spinning the model around and eyeballing it.
This turned out to be much more productive than my initial approach of dumping simulation data into DuckDB tables for separate inspection with ggplot2-based notebooks. Thanks @kaveh808 for a great tool in the toolbox!
Here's some eye candy with rough notes below:
https://user-images.githubusercontent.com/13791/235121210-e47544b2-fc7d-4924-bf29-7b4d2421e52b.mp4
Background:
Observations:
Cute aspects:
Three cheers for kons-9!
and especially because coding the hook from simulator to 3D model was no trouble at all: