[ Image ] draw: [ Sequence ] colour: [ Colour ]

☞ media ≔ Media new.
☞ canvas ≔ Image new: ‘canvas.png’.
media on: ‘start’ do: {

☞ a ≔ Point new x: 10 y: 10.
☞ b ≔ Point new x: 20 y: 20.
☞ c ≔ Line new from: a to: b.
☞ d ≔ Point new x: 15 y: 5.
☞ all ≔ Sequence ← c ; d.
☞ x ≔ Colour new red: 255 green: 0 blue: 0.
canvas
x: 0 y: 0,
draw: all colour: x.
}.
media screen: ‘canvas.png’.