Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+10 votes

For instance, I made a triangle using the repeat code, but is there a way to fill in that triangle?

asked in CSC 150 January201920 by (8 points)

3 Answers

+6 votes

Another approach is to create art/shapes using the bodies of the turtles themselves, rather than just their pen drawings.

The turtle's body shape could be a triangle...

answered by (8 points)

Agreed. Just make the turtle size bigger then you would have a triangle

+4 votes

The only way I have found to do this would be to change a line to a thicker size and then use it to fill in the shapes. I hope this helps.

answered by (8 points)

That is what I did as well, I couldn't find any other way to do so.

+4 votes

The only way that I can think of filling something in is by setting specific patches to the color that you want if you picture if geometric this should work!

answered by (8 points)