sandbox for math on JS canvas