Graphic algorithm laboratory written in JS.