Caffeine Smalltalk – Livecode the Web
thiscontext.com
Caffeine Smalltalk – Livecode the Web
1–10 of 11 posts
Re: Caffeine Smalltalk – Livecode the Web
#2Re: Caffeine Smalltalk – Livecode the Web
#3A bit off topic, but seeing "Livecode" combined into a single word, instead of the normal two, made me think this was about the HyperCard-inspired programming language[1], instead of the just-in-time coding technique. :) [1] https://en.wikipedia.org/wiki/LiveCode
Re: Caffeine Smalltalk – Livecode the Web
#4I 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.
Re: Caffeine Smalltalk – Livecode the Web
#5A bit off topic, but seeing "Livecode" combined into a single word, instead of the normal two, made me think this was about the HyperCard-inspired programming language[1], instead of the just-in-time coding technique. :) [1] https://en.wikipedia.org/wiki/LiveCode
I know, plus its also being used as a term for coding tutorials in twitch. Kind of annoying.
Re: Caffeine Smalltalk – Livecode the Web
#6Re: Caffeine Smalltalk – Livecode the Web
#7Does it really have to use a blurry canvas? I'd be much more interested in a normal HTML version.
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 , 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.
Re: Caffeine Smalltalk – Livecode the Web
#8Does it really have to use a blurry canvas? I'd be much more interested in a normal HTML version.
Try Amber (amber-lang.net) - it's a Smalltalk implementation in JS and it doesn't use Morphic for display. It is, however, much less developed than either Squeak or Pharo; it may be alright for newcomers, but if you know one of the "real" Smalltalks, Amber falls rather short :( 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 , or you don't a…
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
Re: Caffeine Smalltalk – Livecode the Web
#9Does it really have to use a blurry canvas? I'd be much more interested in a normal HTML version.
Thanks for checking it out!
Craig
Re: Caffeine Smalltalk – Livecode the Web
#10Does it really have to use a blurry canvas? I'd be much more interested in a normal HTML version.
Blurry? Not sure what you mean. Anyway, SqueakJS can do whatever JS stuff you like. For example, it's using jQuery UI to make the windows draggable. I'm working on voxel.js and React demos at the moment. Thanks for checking it out! Craig