I use Scala for various home projects and I've run into one that involves simple canvas drawing, with a few basic input controls like buttons and text boxes. I'm aware of how to use Swing, but I'm starting to wonder if I'm wasting my time learning this technology. What is the simplest way to draw on an HTML 5 canvas in Scala, perhaps adding a few button controls for input.. is this where I need to begin learning the Play framework? Does anything out there abstract away from HTML/Javascript (I do not know either well.)
I don't understand what the official Scala strategy is for this kind of input/output moving forward, since the Swing library is heading for retirement. I'd like to sharpen my skills in the right direction, if I better knew what that was.
Thank you