//Draw a basic Triangle with foward left and right
//clear the screen
clear()
//set delay
setAnimationDelay(100);
//displace the position
right();
hop(-50);
setBackgroundH(purple, white);
//draw the first traingle
setFillColor(red);
forward(100)
left(120)
forward(100);
left(120);
forward(100);
//displace the position
hop(-200);
//draw the second traingle
setFillColor(yellow);
forward(100)
left(120)
forward(100);
left(120);
forward(100);
//displace the position
hop(-200);
//draw the third traingle
setFillColor(green);
forward(100)
left(120)
forward(100);
left(120);
forward(100);