My sons, 10 and 15 years old, and I were sitting around this evening playing with Microsoft Small Basic. I've been trying to get my kids interested in writing software for years. But they didn't take to it. Small Basic made their eyes light up though. It has a Turtle graphics class like Logo had back in the 80s. You can make the turtle object move and turn to draw on the screen. It animates the whole thing. For capturing the imagination of children and getting them interested in writing algorithms, Logo was brilliant back in the 1980s and it's still brilliant today. Small Basic also has a Flickr class that you can use to download images by keywords. My sons and I wrote this little Small Basic program for taking keyword input from the user and then starting a Flickr slide show. They were so proud of themselves. Too much fun!
TextWindow.WriteLine("Welcome to My Flickr Picture Viewer")
TextWindow.ForegroundColor = "Cyan"
TextWindow.Write("What kind of pictures do you want to see? ")
TextWindow.ForegroundColor = "Yellow"
keywords = TextWindow.Read()
TextWindow.Hide()
GraphicsWindow.Title = "My Flickr Picture Viewer"
GraphicsWindow.Left = 0
GraphicsWindow.Top = 0
GraphicsWindow.Width = Desktop.Width - 20
GraphicsWindow.Height = Desktop.Height - 100
GraphicsWindow.FontSize = 18
GraphicsWindow.Show()
GraphicsWindow.MouseDown = OnMouseDown
GraphicsWindow.DrawText(10, 10, "You are about to see Flickr pictures with the keyword(s) '" + keywords + "'.")
GraphicsWindow.DrawText(10, 50, "Click in this window to begin. Click when you want to see a new picture.")
Sub OnMouseDown
GraphicsWindow.Clear()
GraphicsWindow.DrawText(10, 10, "Downloading...")
img = Flickr.GetRandomPicture(keywords)
GraphicsWindow.DrawResizedImage(img,0,0,GraphicsWindow.Width,GraphicsWindow.Height)
EndSub