Projects

Perceptually Uniform Color Schemes

Julia

I'm currently working on a Julia package for working with gradients and generating perceptually uniform color schemes based on Beziér splines.

Chanterelle Colorscheme

Julia GitHub

Chanterelle is a perceptually uniform family of color schemes for data visualization. It is also used to decorate this website.

The palette has also been turned into color schemes for Zed and Emacs, but the effort is still ongoing.

Parsley

Rust GitHub

To help myself grade assignments about LR parsing (and to brush up my knowledge ahead of time in case any clever students asked any difficult questions!), I implemented an LR parser generator in Rust, which also conveniently shows a trace of the shift/reduce steps performed to parse some input.

This is not a production parser, not even anything close. But I think it is a good educational tool to understand how LR parsers work. It only does SLR table construction, because that's what the compiler construction course at NTNU taught.

Plox

Rust, OpenGL GitHub

Final project for the graphics programming course at NTNU. The only novel thing here is a way of drawing vector shapes defined by Beziér splines based on XOR blending to calculate winding numbers modulo two.