コンテンツへスキップ

Lesson 19: Spiral art

English

Art with a robot

  • Artists use robots and code to make drawings that are hard to do by hand.
  • A loop repeats the same move. If a variable changes each time, every side is a bit different, and a square becomes a spiral.
  • With a list of colours, each side can have its own colour.

Words for this lesson

Word Meaning
spiral a line that goes round and round and gets bigger
list many values in order, like [RED, GREEN, BLUE, BLACK]
% the remainder after dividing: 7 % 4 is 3
angle how far the robot turns, in degrees

ログインまたはアカウント作成

IGCSE, A-Level & AP