This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-02-16 20:47:02

ealbers
Scratcher
Registered: 2009-02-16
Posts: 10

Open source Scratch!!

Is the code available?  I know you worry about it getting 'taken over', but really, can you open source this?  My 4 young boys are loving it, and as a professional programmer (wrote SimFarm in the Sims series) I've been looking for a long time for something to get them excited, and this is doing it!  But I want to add robotics/hardware to it, yes the picoboard is neat, but I want to WORK ON THIS!
Please find some way to open source or let others fork the code!
Thanks for such a great thing!  Even if you can't release the code, please keep up the excellent work!

Eric Albers
eric@ericalbers.com

Offline

 

#2 2009-02-16 21:10:43

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Open source Scratch!!

The scratch team has released a source code, you can download it here: http://info.scratch.mit.edu/Source_Code

It's not very easy to use, though. There should be a topic about it somewhere.

Last edited by hmnwilson (2009-02-16 21:14:31)


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#3 2009-02-16 21:27:48

ealbers
Scratcher
Registered: 2009-02-16
Posts: 10

Re: Open source Scratch!!

Actually, I just read http://web.media.mit.edu/~mres/papers/NewPathwaysRoboticsLLK.pdf by Mitchel Resnick, and I think I need to think about this a bit more....I like the dramatists way, its not mine, but its like the 'software toys' concept we had at Maxis....though of course I can't wait to play with the code too :-)
Thanks!

Offline

 

#4 2009-02-16 21:48:34

ealbers
Scratcher
Registered: 2009-02-16
Posts: 10

Re: Open source Scratch!!

Oh god, smalltalk 80, argghhh! whats next ops-85?  prolog?  I'm feeling OLD

Offline

 

#5 2009-02-16 21:56:32

ealbers
Scratcher
Registered: 2009-02-16
Posts: 10

Re: Open source Scratch!!

Ummm...sorry, didn't mean to imply anything about smalltalk, I just remember it and learned it, along with ops 5, prolog, lisp and forth.....I'm just a old C/C++/Assembly guy ya know....knuth etc, a bit old school, from a c# perspective I suppose :-), Plato terminals were fun.

Offline

 

#6 2009-02-17 04:18:21

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Open source Scratch!!

ealbers wrote:

Ummm...sorry, didn't mean to imply anything about smalltalk, I just remember it and learned it, along with ops 5, prolog, lisp and forth.....I'm just a old C/C++/Assembly guy ya know....knuth etc, a bit old school, from a c# perspective I suppose :-), Plato terminals were fun.

YOU feel old???  I'm a FORTRAN IV guy.  It was a big step up to FORTRAN 77 (yay, IF-THEN-ELSE statements!).  Of course, I was an Engineer, not really a computer guy and that is what the programs were written in.  Still are in some cases  smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#7 2009-02-17 05:42:49

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: Open source Scratch!!

Jens has done some tutorials for squeak


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#8 2009-02-17 11:46:19

ericr
Scratch Team
Registered: 2007-03-21
Posts: 23

Re: Open source Scratch!!

ealbers wrote:

... I want to add robotics/hardware to it

Cool!  You might be interested in Chalkmarrow's Catenary project, that lets you talk to an arduino board from scratch:

http://scratchconnections.wik.is/User:Chalkmarrow/Catenary

Offline

 

#9 2009-02-17 13:56:40

chalkmarrow
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: Open source Scratch!!

Paddle2See wrote:

ealbers wrote:

Ummm...sorry, didn't mean to imply anything about smalltalk, I just remember it and learned it, along with ops 5, prolog, lisp and forth.....I'm just a old C/C++/Assembly guy ya know....knuth etc, a bit old school, from a c# perspective I suppose :-), Plato terminals were fun.

YOU feel old???  I'm a FORTRAN IV guy.  It was a big step up to FORTRAN 77 (yay, IF-THEN-ELSE statements!).  Of course, I was an Engineer, not really a computer guy and that is what the programs were written in.  Still are in some cases  smile

Well. I started on FORTRAN 77, so I'm not quite as ancient as Paddle2See, but I used punch cards as a freshman, and I still have the textbook in my office for fun.

btw: Paddle, I think I just reported your post inadvertently. :p

Offline

 

#10 2009-02-17 14:39:29

chalkmarrow
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: Open source Scratch!!

ericr wrote:

ealbers wrote:

... I want to add robotics/hardware to it

Cool!  You might be interested in Chalkmarrow's Catenary project, that lets you talk to an arduino board from scratch:

http://scratchconnections.wik.is/User:Chalkmarrow/Catenary

ealbers: In addition, I think there's a need for someone to come up with a way to interface Scratch to something that can be easily used for robotics by kids. For example, if you could come up with some middleware that allows Scratch to control the popular Adafruit motor controller board for the Arduino ( http://tinyurl.com/aj3x93), that would be a great step in the right direction. 

In general I think there's a need for a board that lies somewhere between the PicoBoard (user friendly and bullet-proof, but allowing only input) and the Arduino (infinitely configurable input and output, but requiring significant electronics knowledge to do anything useful).

Offline

 

#11 2009-02-21 15:26:11

mpthompson
Scratcher
Registered: 2009-01-27
Posts: 4

Re: Open source Scratch!!

chalkmarrow wrote:

In general I think there's a need for a board that lies somewhere between the PicoBoard (user friendly and bullet-proof, but allowing only input) and the Arduino (infinitely configurable input and output, but requiring significant electronics knowledge to do anything useful).

I think it would be a terrific challenge to create an implementation of Scratch (or something very close to it) that would produce code that can be downloaded and run on an Arduino type board.  Something similar to what was done by Eric Rosenbaum for Scratch for Second Life (S4SL) where the Scratch interface is used to build Second Life scripts.  However, in this case, the output would be code that actually runs on an Arduino.  With this approach, an Arduino programmed in Scratch can be untethered from the USB port of a PC and run autonomously.

I can imagine the equivalent of "Sprites" for an Arduino being peripherals that gather input or create output.  Peripherals could be LEDs, LCDs, timers, buzzers, switches, light sensors, touch sensors, distance sensors (IR and sonar), motor controllers, serial/SPI/I2C ports, and the myriad other things that can be attached to the I/O ports of an Arduino.

The person using an Arduino-ized Scratch selects the peripherals they want to use and then uses the familiar Scratch blocks to react to input events and product output.  If done with the same care that went into creating Scratch such an environment could make embedded devices and robotics much more accessible to kids and non-programming adults.  Particularly if the end result was targeting a platform as varied and ubiquitous as the Arduino has seem to become.

-Mike

Offline

 

Board footer