Caffeine Smalltalk – Livecode the Web
thiscontext.com
thiscontext.com
I don;t have time to do it myself, but an option to use a touch gesture in the bottom left corner to make other mouse clicks be right mouse clicks would make it fairly nice on a tablet.
The problem is that you either implement Morphic, which is designed to work on the level of pixels so you have to do it with <canvas>, or you don't and can then choose any display strategy you'd like. The problem is that Squeak and Pharo rely on Morphic for display, so you need to have it implemented if you want to reuse the code of those.
It's probably possible to write Morphic-compatible rendering framework based on React, for example, which would be an interesting excercise, but I don't know if anyone attempted it.
Another good hack is to use Squeak Morphic, but draw each morph on its own canvas. That relieves a lot of the computational burden on SqueakJS.
There are examples of all of these things in the Squeak workspaces on the Caffeine page.
Thanks for checking it out!
Craig
Thanks for checking it out!
Craig