Fortunately, there’s never been a better time to learn how to code. In the past, programmers had to type out every line of code by hand, using obscure commands and mathematical symbols. A single period out of place could ruin everything. Today, you can build amazingly powerful programs in minutes by using drag-and-drop coding languages like Scratch™, which is used in this book.
As learning to code has become easier, more people have discovered the creative potential of computers, and that’s where this book comes in. Coding Projects in Scratch is all about using code for creative purposes—to make art, music, animation, and special effects. With a little bit of imagination you can produce dazzling results, from glittering fireworks displays to kaleidoscope-like masterpieces that swirl and beat in time to music. If you’re completely new to coding, don’t worry—the first two chapters will walk you through the basics and teach you everything you need to know to use Scratch. The later chapters then build on your skills, showing you how to create interactive artworks, lifelike simulations, mind-bending optical illusions, and some great games. Learning something new can sometimes feel like hard work, but I believe you learn faster when you’re having fun. This book is based on that idea, so we’ve tried to make it as much fun as possible. We hope you enjoy building the projects in this book as much as we enjoyed making them.