Scratch is great for drawing shapes.
This section of the site has resources to be used for Code Comprehension when creating Shape projects. The effects include simple sequences to draw a shape, leading to loops and functions with variables.
There are lots of examples of Shape on the Scratch site. The project featured below has been chosen to demonstrate many of the outcomes covered in this section of the site.