June 2009
BASIC-256 - Programming for Kids
Tutorial Ten - Animation
Do you know how movies and cartoons work? Have you ever made a "flipbook?" Well, before we get into how to do animation using a computer, it helps to understand how animation really works.
When we see moving pictures on a screen, they're not really moving. What actually happens is that a sequence of still pictures -- like photographs -- are flashed on the screen so quickly that you can't tell how fast it's happening. About 30 times every second, the screen is cleared and a new picture takes the place of the old one. If we were to slow it down it would look like this:
BASIC-256 - Programming for Kids
Tutorial Four - Variables
In the previous tutorials, we learned how to print messages and numbers on the screen and how to do math using the print command.
This is very good to know how to do, but it doesn't really help us use the full power of the computer. Computers do more than simple things like add numbers and print messages. A big part of what computers do is to store information, so it can be used later.
This is where "variables" come in handy. Variables are a way to save a message or a number so that you can use it later.
Let's try an example.
BASIC-256 - Programming for Kids
Tutorial Three - Drawing Pictures
One of the most exciting things to do with a computer is to draw things with it. Usually you would do this with a paint program, but what if you didn't have one? Or what if you wanted to draw a circle, and then have it move across the screen? This tutorial will show you how to do basic drawing.
First, let's try drawing a few dots.
BASIC-256 - Programming for Kids
Tutorial Two - Doing your Math homework. . .the easy way
BASIC-256 - Programming for Kids
Tutorial One - Welcome to BASIC-256
August 2008
BASIC-256 - Programming for Kids
Beginner
* Tutorial One - Welcome to BASIC-256
* Tutorial Two - Doing your math homework the easy way
* Tutorial Three - Drawing Pictures
Intermediate
* Tutorial Four - Variables
Advanced
* Tutorial Ten - Animation
BASIC-256 - Programming for Kids
by 1 otherThe BASIC-256 project (formerly KidBASIC) has changed its name to avoid any potential conflict/confusion with another project with the same name. Thank you for your patience and continued support.
Introduction
BASIC-256 is an easy to use version of BASIC designed to teach young children the basics of computer programming. It uses traditional control structures like gosub, for/next, and goto, which helps kids easily see how program flow-control works. It has a built-in graphics mode which lets them draw pictures on screen in minutes, and a set of detailed, easy-to-follow tutorials that introduce programming concepts through fun exercises.
BASIC-256 is licensed under the GNU public license, which means that it's free to download, modify, and share.
1
(7 marks)