Note written at

Thanks @SaraSoueidan, now that whole table is stuck in my head… I cut a LOT of corners, but here is a proof of concept: https://codepen.io/petergoes/pen/eYvLXWJ