I needed a way to visualize a 3D dataset and I used the racket plot package for it, and, while the dataset is not Racket related, I thought I share the end result here:
The racket plot package uses parallel projection for 3D plots, which is useful for mathematical functions, but looks a bit strange when rotating the plot. Below is the same data rendered using only racket/draw
and a hand-written 3D rendering pipeline in about 500 lines of Racket:
Also, to avoid any confusion, these plots don't rotate in real time: I wrote the program to write out image frames and used ffmpeg to assemble them into videos. Each frame takes about 1 second to render, but there are about 26000 data points in the plots.
Alex.