Nov 282016
 

Use this post if you haven’t managed to create your own shape.

  1. Open this j2code file – it is a shape ready in the top left corner.
  2. Save it
  3. To get a row of shapes, put in the bold instructions like this:
    • reset
    • setpensize 4
    • repeat 5
    • [
    • my shape instructions
    • ]
  4. To turn the corner: add a rt 90 on the next line after the ]
  5. To make a square of shapes:
    • We want to repeat the row of shapes and turn, 4 times
    • repeat 4
    • [
    • code for row and turn
    • ]
  6.  Change the repeat in the row code so that it takes up the whole square.
  7. Can you make an inner square?
    1. Copy and paste your code (apart from the reset, setpensize) so you have two copies
    2. Change the second setxy  numbers to -190 190
    3. Change the repeat of the second row so it fits inside the outer square.
  8. What about a third inner square?!

 

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.