Jens's Recent Projects http://scratch.mit.edu/feeds/getRecentUserProjects/19987 Recent Projects Feed for Jens en-us Fri, 25 Jul 2008 01:23:07 GMT CakePHP Han and Andres genghisu Scratch conference remix http://scratch.mit.edu/projects/Jens/224123 A remix of the Scratch conference project. http://scratch.mit.edu/static/projects/Jens/224123_sm.png Addieren http://scratch.mit.edu/projects/Jens/207863 A very basic and simple addition tutor I made for my 5 yo son while travelling around on vacation without internet access. He suddenly became very interested in learning about numbers and adding them up. Also, he refused to use the mouse, because he wanted to "use the computer like a real grown up" (so much for fancy GUI design...) The sums for the problems generated by this project only range from 2 to 10. Press the according numbers keys to enter an answer ("0" for the number 10). Space for the solution. There is absolutely nothing remarkable about this project, except for my sonorous (albeit heavily laptop-mic-distorted and compressed) voice and proof of my ample German vocabulary :) http://scratch.mit.edu/static/projects/Jens/207863_sm.png loops http://scratch.mit.edu/projects/Jens/173328 This project is another example of my "race" experiment: It moves two sprites in seemingly the same way with different results due to how Scratch processes update cycles within loops. Credit again goes to johnm for pointing me to this. http://scratch.mit.edu/static/projects/Jens/173328_sm.png race http://scratch.mit.edu/projects/Jens/170845 This project benchmarks three different scripts, each doing seemingly the exact same thing: Forever incrementing a variable by one. It's interesting how the speeds differ because of parallelism and of how Scratch handles display updates within loops. You can get some hints out of this how to boost up your scripts... Credit goes to johnm for pointing this out to me, when we discussed performance issues relating my lists implementation. http://scratch.mit.edu/static/projects/Jens/170845_sm.png clones http://scratch.mit.edu/projects/Jens/168670 This project fakes cloning of a single sprite using the stamp mechanism. http://scratch.mit.edu/static/projects/Jens/168670_sm.png lists http://scratch.mit.edu/projects/Jens/134353 - caution: experimental - this project includes a small patch which lets you experiment with lists (arrays) in Scratch. Note: This is really only suitable and useful for experienced Squeak hackers. Please let me know your thoughts on this. Have fun! Jens P.S.: The code embedded in this project has been superseeded by the one posted at: http://www.chirp.scratchr.org/blog/?p=16 http://scratch.mit.edu/static/projects/Jens/134353_sm.png Gestures http://scratch.mit.edu/projects/Jens/109532 This project was inspired by Paddle2See's fine version of Chalkmarrow's inspirative project "Pictures with Handles". I loved the way the photos could be moved and scaled in Chalkmarrow's project, and I liked Paddle2See's simpler interface even better but I wanted a yet more direct sprite manipulation method, using mouse gestures. The gesture that picks up a photo is to start dragging it into the direction of its center. Once it is picked up, it can be dragged to anywhere. The gesture ro rotate and resize a photo is to start dragging it into the direction of its edge. Again, once it starts turning it can be turned into any direction. Resizing begins once the mouse touches the photo's edge. Then it can be dragged to become larger or smaller. If you want to add more pictures, just copy the script into a new sprite. http://scratch.mit.edu/static/projects/Jens/109532_sm.png scroll http://scratch.mit.edu/projects/Jens/107460 - caution: experimental - this project includes a tiny Squeak patch which dynamically adds scroll bars to the Scratch window, whenever you resize it below its minimum resolution. It will let you enjoy Scratch on older computers with low-res screens, e.g. 800x600, or whenever you need the Scratch window to be smaller for some other reason, and still want to be able to see everything. Toggling to and from presentation mode is also supported. This project tells you how to install this patch into the officially published Scratch source code version. 1.2.1 http://www.scratch.mit.edu/pages/source The code of this patch will not break any compatibility. Any projects created using its features will also work online. Note: This is really only suitable and useful for experienced Squeak hackers. Feel free to use and modify the source code of this patch anyway you like. Have fun! Jens http://scratch.mit.edu/static/projects/Jens/107460_sm.png options http://scratch.mit.edu/projects/Jens/103320 - caution: experimental - this project includes a small patch which lets you turn any command or reporter block into a similar one of the same category, without having to tear apart your scripts, and to associate variable blocks with other variables. Kind of like you can already do with math blocks. It also tells you how to install this patch into the officially published Scratch source code version. 1.2.1 http://scratch.mit.edu/pages/source The code also makes use of Scratch's existing National Language Support. This patch will not break any compatibility. Any projects created using its features will also work online. Note: This is really only suitable and useful for experienced Squeak hackers. Feel free to use and modify the source code of this patch anyway you like. Have fun! Jens http://scratch.mit.edu/static/projects/Jens/103320_sm.png bounce http://scratch.mit.edu/projects/Jens/98418 this project attempts to let a sprite bounce off irregular surfaces. What makes this project special is that the bouncer can rotate around its center, and also around each sensor, simply using copies of the same costume with the rotation axis set to different positions each, thereby enabling it to measure the wall's slope at any point. If it gets stuck somewhere press the green flag to reset it. For some reason it currently does *not* work correctly online all the time. It's supposed to rotate until both sensors touch the surface in order to measure the surface's slope. If it doesn't do that online, you may need to download it. Check the forum thread: http://scratch.mit.edu/forums/viewtopic.php?id=3446 http://scratch.mit.edu/static/projects/Jens/98418_sm.png xml http://scratch.mit.edu/projects/Jens/93504 - caution: experimental - this project includes a patch which lets you export scripts (blocks and stacks) into editable text files using an XML format, and import such XML files as scripts back into Scratch. It also tells you how to install this patch into the officially published Scratch source code version. 1.2.1 The XML format produced by this patch is translation independent and should work with any national language you select in Scratch. It also works with any old ('obsolete') blocks of previous Scratch versions, but not with the comment block of the v.1.2 BETA. This patch will not break any compatibility. Any projects created using its features will also work online. Note: This is really only suitable and useful for experienced Squeak hackers. Feel free to use and modify the source code of this patch anyway you like. Have fun! Jens P.S.: you can get the source code following this link: http://scratch.mit.edu/pages/source There's also a helpful forum thread here: http://scratch.mit.edu/forums/viewtopic.php?id=2745 http://scratch.mit.edu/static/projects/Jens/93504_sm.png flip http://scratch.mit.edu/projects/Jens/75626 This project shows how to create your own command blocks for Scratch using the Scratch Source Code released by MIT. Have fun! -Jens P.S.: you can get the source code following this link: http://scratch.mit.edu/pages/source There's also a helpful forum thread here: http://scratch.mit.edu/forums/viewtopic.php?id=2745 http://scratch.mit.edu/static/projects/Jens/75626_sm.png Shanty http://scratch.mit.edu/projects/Jens/65645 This is a musical project I made to check out all the new musical command blocks in Scratch 1.2.1. It plays "Early In The Morning" in full orchestration while constantly accelerating and decelerating its tempo and modulating one half note up after each round. Not much you can do except listen... Have fun! -Jens- http://scratch.mit.edu/static/projects/Jens/65645_sm.png Magnify http://scratch.mit.edu/projects/Jens/63508 - experimental - This project magnifies an 8x8 portion of the screen using some of the new features in Scratch 1.2. It will magnify anything that's black (sprite or background). Click once on the little magnifying glass to pick it up. Drag it gently around and watch the monitor. Click once again to drop it. Can you find out about the little secret surprise? Have fun -Jens- http://scratch.mit.edu/static/projects/Jens/63508_sm.png Menuet http://scratch.mit.edu/projects/Jens/62023 this project tries to play Bach's Menuet No. 1 using the new musical command blocks of Scratch 1.2. It just repeats itself until you press the red sign. It is just a quick excercise for me to become familiar with some of the new notation features (and a superb example of how *not* to use dynamics and tempo variations in Baroque music). Also, when I tried to notate the music in Scratch the absence of a 'rest'-block struck me, and it occured to me that there probably should be a beat interval that fits into the 'wait' block. Update: There now is a rest for _ beats block in the new Scratch (1.2.1) version, so there's no need for the workaround shown in this project. http://scratch.mit.edu/static/projects/Jens/62023_sm.png