0. Introduction

In this project you will create a program to make abstract artwork using stamped shapes!

What you will make

What you will learn

This project covers elements from the following strands of the Raspberry Pi Digital Making Curriculum:

What you will need

1. Create a simple activityOf

In CodeWorld, programs that respond to the user are called activities, and you'll write them with a function called activityOf.

An activity is built out of three parts:

  1. Initial state. The first part of an activity is often called initial, and it tells you the state when the activity starts.
  2. Change function. The second part of an activity is often called change, and it tells you how the state changes when something happens. That could be a click of a mouse, a key press, or just time passing.
  3. Picture function. The third part of an activity is often called picture, and it tells you how the state should be drawn on the screen as a Picture.

In this step you'll create a CodeWorld activity that draws a shape on the canvas.