Hour of AI: test an AI that finishes your doodle

Looking for an Hour of AI activity, or an Hour of Code animation lesson? In this 45–60 minute lesson, pupils start a doodle, watch SketchRNN guess the next strokes, then test how its guesses change. No coding, account or email is needed. Use it during Computer Science Education Week or any time you teach about AI.

Start the activity

The studio opens in a new tab. Print all pages, or choose just the worksheet or certificate in your print dialog.

For the teacher

Learning goal

Pupils can describe a model as something that learned patterns from examples, explain a next-stroke guess, and use repeated trials as evidence of variation and limitations. They distinguish choosing a category from the AI recognising an animal.

Upper primary and lower secondary; teacher adapted. Suggested ages 8–14 with teacher support; adapt to your class.

What you need

Timing: 45 minutes, or a full hour with the extension

How this AI works, for teachers

SketchRNN learned patterns in human doodles from Google’s Quick, Draw! dataset. For each step it uses the strokes so far to estimate possible next pen movements, including when to lift or stop the pen. It samples a possible movement and repeats. Random choices allow different endings from the same start; they do not guarantee every ending is different.

The pupil chooses a category such as cat or owl. This tool does not identify the animal or understand a pupil’s intention. A misleading outline can expose the limits of the selected model. Pupils are testing an already trained model, not training a new one with their drawings.

The model files are served by mtoons from /models/sketchrnn/. The AI computation runs in the pupil’s browser; the AI finish does not upload the drawing. No account, name or email is needed. The browser still makes network requests to load the site, libraries and models, and the guide sends anonymous daily step counters. Site visits may be counted. “No drawing upload” does not mean “no network traffic”.

Sources: Google Magenta’s SketchRNN explanation and the Quick, Draw! dataset.

Pupil instructions: make a next-stroke guess

  1. Open the guided cat. Use Start the activity. It opens in a new tab. In a fresh guest browser the guide starts in draw mode with the sketch tool ready. If it finds existing work, read its choice before continuing on top of it. If previously dismissed, use the guided AI drawing pill to reopen it.
  2. Draw the start. Copy the guide’s picture in one held stroke: up one side of a head, two pointy ears, down the other side. Leave room below it. Let go; the studio closes and fills the shape. A mistake? Use ↶ undo, then redraw.
  3. Ask for a guess. With the stroke selected, tap Z in the bottom toolbar. In “AI finish as…” tap cat. Wait for the grey preview to finish. Predict what will appear before you tap. Do not keep it yet: this is trial 1.
A cat-head start shape selected in the guest studio, with the guide pointing to Z
Draw just the start; the guide shows which button comes next.
The cat model’s grey next-stroke preview beside the Try another and Keep this cat buttons
Record the preview before keeping it. Try another reuses the same start.
The cat model completing a long fish-like start with pointed ears
A conflicting start: the chosen model is still cat. Your result will vary.

Experiment: test the AI

  1. Same start, three guesses. Record trial 1. In the guide tap Try another for trial 2, then again for trial 3, waiting each time for the preview to stop. Do not redraw or keep between trials: only the AI preview changes. Record similarities as well as differences. Results can look alike; a different result is possible, not promised. If it adds nothing, record that too. After trial 3, tap Keep this cat (or Try another first if there is nothing to keep).
  2. A start that “lies”. Tap Keep drawing to close the guide. Use F for draw mode if needed and D for sketch. In empty canvas space draw one long fish-like outline with two pointed cat ears on its top, all in one stroke. With this new stroke selected, tap Z and choose cat again. Write your prediction first. Record whether the result looks cat-like, fish-like, mixed or unclear. This tests a conflicting input, not animal recognition: you still chose the cat model. Tap cat again for another preview; Enter keeps it, Esc drops it (a second Esc closes the panel).
  3. Choose another animal. Open one of the animal guides below. It may ask to continue on top of the drawing already saved in this browser. Follow its start-shape picture, open Z, choose that animal’s chip, and keep a preview. Compare it with your cat trials.

Choose a guide: owl · penguin · rabbit · whale · all 25 drawing guides.

Start owlStart penguinStart rabbitStart whale

Optional extension

Follow the two-pose animation lesson.

Discussion questions

  1. Where did the AI learn doodles? How might the examples people drew affect what it can finish?
  2. What stayed the same across three trials? What changed? Why can the same start have more than one ending?
  3. Did the misleading start “fool” the AI? What can you conclude when you chose the cat category yourself?
  4. Is the finished drawing yours, the AI’s, or both? Explain your view; this is a discussion about creative contribution, not a legal ownership ruling.
  5. What did it get wrong? What extra trial would help you test your explanation?

Keeping your drawing

Frequently asked questions

Do pupils need accounts?

No. The lesson, guided drawing, worksheet, picture download and guest share links work without an account. Pupils do not need to enter a name or email. Names on the printed certificate are handwritten and never collected by this page.

Does it work on tablets and Chromebooks?

Use a recent browser and test school network access first. Chromebooks can use their keyboard and trackpad. Tablets have F, D, Z and undo buttons in the bottom toolbar and accept finger or stylus drawing. The optional animation lesson uses number keys to replay; without a keyboard choose ping-pong to keep it playing.

Is any data sent?

AI finish runs locally and does not upload the drawing. The browser downloads the site, libraries and model; the guide sends anonymous step counters and site visits may be counted. Optional Publish explicitly uploads a public drawing copy for a guest share link. This is not a claim of school privacy certification: check your school’s rules.

What ages is this lesson for?

Suggested planning range: upper primary and lower secondary (roughly ages 8–14), with teacher adaptation and support. This is not a tested age rating. Younger pupils may dictate observations to a partner; older pupils can discuss sampling and training-data limits. Teachers should check suitability and school policy before use.

Student worksheet: test a next-stroke guess

https://mtoons.lp-data.cloud/hour-of-ai

Keep this sheet on paper. No name needs to be entered online.

  1. Open https://mtoons.lp-data.cloud/studio?guide=ai-cat&utm_source=hour-of-ai&utm_medium=lesson. Draw the cat start. Tap Z, then cat.
  2. Predict before each preview. Record it, then tap Try another twice, keeping the start unchanged.
  3. Keep one cat. Tap Keep drawing, then draw a fish outline with cat ears. Tap Z, then cat. Predict and observe.
Start shape / trialWhat I predictedWhat the AI drew
Cat start — try 1
Same cat start — try 2
Same cat start — try 3
Fish outline + cat ears, cat model

What stayed the same? What changed?

One mistake the AI made, and a new test I would try:

Finish this sentence: the AI learned patterns from…

mtoons · Hour of AI

I trained my eye on AI

This certificate celebrates

Name (write by hand):

for predicting, testing three next-stroke guesses, spotting differences and asking what an AI gets wrong.

I tested an already trained AI. I did not train a new model.

Date:

https://mtoons.lp-data.cloud/hour-of-ai · Free · No login · In your browser

More AI drawing guides · Animation lesson · mtoons home