So what i want to do is to write some node.js code which runs on the client side. But It is not going to run in a browser but will be a command line client. So this client does not have a browser. So instead of running "node myserver.js" it is going to be "node myclient.js".
And I would like to implement canvas functionality.(or a subset of it) But here is the catch. I would like to have a common c++ canvas code . What is the best way to do this.I do not want to have c++ code for each operating system. Should I use SDL for the canvas. or is there a better way to do this. Can I even link SDL using addons.