This generates SVGs for Collatz sequences. This technique comes from an excellent Numberphile video on the Recamán sequence,
It is written in OCaml, and compiled to JavaScript using BuckleScript to be served with Now.
In dev you'll want to run yarn watch
and now dev
in two separate windows.
Then visit http://localhost:3000/api/collatz?num=123
yarn deploy