//mondrian lies in bottom right corner (90 10)
forever
{
paper 15
pen 100
//horizontal lines
line 25 98 60 98
line 0 100
line 0 50 50
line 3 100 3

//vertical lines
repeat a 5
{
line a 50 a
}
line 0
line 25 25 100
line 60 60 100
line 97 3 97 98

//blue square
repeat b 0 25
{
pen
line b b 100
}

//yellow square
repeat c 97 100
{
pen 40
line c c 100
}

//red square
repeat d 100
{
pen 90
line d 0 d 3
}
}
1e) make a line that responds to the mouse.

click to see movie

full code