Writing graphics code in OCaml in Jupyterhub

I’ve had a great experience teaching OCaml using a variation of Kenichi Asai and C. Uehara’s Universe graphics library. Their library is a Cairo-based adaptation of an earlier library developed for Racket. I’d like to move my course to a jupyterhub platform for the fall semester. I’ll have to port my variation of their library. I’m looking for advice on reasonably lightweight approaches to implementing 2D graphics, touchpad and keyboard input using OCaml in a jupyterhub environment.

1 Like