Application of the library Ruby-Prolog created by  Preston Lee. on Rails using HTML5 Canvas