[squeak-dev] VM camera plugin on the Pi

tim Rowledge tim at rowledge.org
Thu Apr 24 21:26:21 UTC 2014


On 24-04-2014, at 2:12 PM, Herbert König <herbertkoenig at gmx.net> wrote:

> Hi,
> 
> with the Squeak VM that comes with the Pi there is a so.CameraPlugin which I assume is the scratch camera plugin Tim mentioned earlier.

Yup. As long as you have a recent v4l setup installed on your Pi it should Just Work.

> 
> Can this be used from Squeak and what would I have to load to use it?

Well, it’s being used from Squeak in the Scratch image, so yup. If you download the original scratch source package from http://wiki.scratch.mit.edu/wiki/Scratch_1.4_Source_Code you’ll be able to find the code in CameraPlugin. BUT you almost certainly won’t be able to run the vanilla image on any vaguely modern VM you might have around since there are a few primitives wrongly referred to (damn that progress) so you’ll also need to find the original Mac or Windows package to get their old VM as well. 
Or you could almost certainly just read the changes file in a modern image with the filecodebrowser and pull out what you need.

> 
> The (maybe) wrong colours are not a problem for me.

You might even feel like fixing the problem; it ought to be something simple relating to setting the colour map. I think. Maybe.

> 
> BTW I managed to use the camera via the OSProcess plugin.

Cool! How?

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: CPP: Crush Plotter Pen




More information about the Squeak-dev mailing list