Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Caterpillar  RSS feed

 
Bruno Ribeiro
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!

As part of an assignment, I have to draw a caterpillar.
I managed to do it, but I can't make it perfect. I can't make the loop stop before the last oval is drawn and go beyond the graphics window.

Here is the code:



Thank you so much for the help!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!