To all who were involved in any part with Coderdojo Athy I hope you will remember in your thoughts and prayers Diarmaid Flynn who was a founder member of the club. Diarmaid passed away on Friday, 19 January, and leaves a huge vacuum in the many organisation he volunteered in. Diarmaid was the driving force behind Coderdojo and gave selflessly each Saturday to provide the club for the young people. A great man and a sad loss.
All of our deepest condolences to his wife, Maria, his children, his family and his friends.
Following the announcement by the Taoiseach that all schools are to close until the 29th of March, this covers our final two dates for this year.
We hope you’ve all had a great time during this year and that everything will be back to normal in the Autumn for next year. In the mean time, the next few weeks in particular are a great opportunity for practicing at home what we’ve been learning, so keep going!
We’ll be starting back this year on Saturday 5th October from 10:00 to 12:00, at Athy College. Ages 7–16. No laptop needed, however please have a Google account set up in advance. All welcome, no registration needed.
Ever played Hangman? You have to guess a mystery word before the stickman is fully drawn. The algorithm (or recipe as the instructions call it) to make the game is explained in pseudocode. Hangman Project in Scratch
You can right-click (or two-finger tap if on a Chromebook) to import this list of 5-letter words for Hangman attached below.
To import this project into your Scratch folder, first download it, then go to File > Upload from your computer. Once you have selected it will be loaded in Scratch.
To import the list of five-letter words, download it to your computer, right-click on an existing list and select the import option. Then, select the words.txt file to import into the list. Each line in the .txt file represents each item in the list.
Our “guess the image” jukebox today is using several ScratchX plugins. It uses Clarifai to classify an image and produce some keywords, and then Spotify plays ten seconds of a track matching the keywords. Here are the addresses of the ScratchX plugins:
Today, Ninjas are getting a chance to mess around with a physics engine called Box2D in a side-scrolling ScratchX game that sees them pushing over haybales and avoiding swinging ramps with a monster truck! What will happen if we give our truck really bouncy tyres or give one less grip or even change gravity itself!
Today our advanced group started to look at ScratchX. With ScratchX you can add extra modules to the Scratch environment, and today we looked at the Scratch3D extension.
Firstly, we looked at 3D coordinates. With Scratch we normally have x and y, but now we have z. In the picture you can see x going left to right and y going up and down, but now we also have z coming torwards and away from us. In this image the sun is at the centre of the solar system, x=y=z=0.
Because you can move around the 3D space, you can’t easily show coordinates in the corner like you can with the fixed 2D space of normal Scratch. Well, you could show where the viewer (or “camera”) is located, but since you can be facing in any direction, and maybe even upside-down, your location is only part of the story. The code here shows how you can set the x, y, and z coordinates to be displayed as big numbers in 3D space as in the image above. It’s much easier to see where you are with big numbers floating all around you!
Finally, here’s the code to create the sun and planets, and place them around in space. The Scratch3D extension makes it really easy to create a planet, place it where you want, scale it to the size you want, complete with full-colour texture map, and all in one line. We also have a Lego Darth Vader and a Car (a Tesla?) hidden somewhere in space. Next the forever loop keeps the planets and sun rotating gradually. You can see in the corner the first few blocks for moving around. You can download the Scratch script here.
We’ll be back for another year on Saturday October 6th, 10:00–12:00, in Athy College. Looking forward to seeing you all! A full list of dates is on the right (if you’re on a desktop browser), or at the bottom of the page (on a mobile browser).
Today we started building a robot from Makeblock. A small group carefully dismantled it (it had already been assembled) and started putting it into a different configuration, a mobile arm with grabber. Next time we hope to finish the construction and start programming it!