{"id":225,"date":"2020-09-23T09:57:59","date_gmt":"2020-09-23T09:57:59","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/?p=225"},"modified":"2023-02-22T08:28:58","modified_gmt":"2023-02-22T08:28:58","slug":"scratch-repeated-polygons","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/scratch-repeated-polygons\/","title":{"rendered":"Scratch: Repeated Polygons"},"content":{"rendered":"<p>You can use repeats and rotation to make interesting patterns from polygons.<\/p>\n<p><strong>Remember to add the Pen blocks!<br \/>\n<\/strong><\/p>\n<p><strong>I like to set the size of my sprite to 10%<\/strong><\/p>\n<h3>Draw a Square<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"226\" data-permalink=\"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/scratch-repeated-polygons\/scratch-square\/\" data-orig-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23072208\/scratch-square.png\" data-orig-size=\"800,390\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"scratch-square\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23072208\/scratch-square.png\" data-large-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23072208\/scratch-square.png\" class=\"alignleft size-full wp-image-226\" src=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23072208\/scratch-square.png\" alt=\"Scratch code for square\" width=\"800\" height=\"390\" \/><\/p>\n<h3>Repeat the Square<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"227\" data-permalink=\"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/scratch-repeated-polygons\/scratch-repeat-square\/\" data-orig-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23072210\/scratch-repeat-square.png\" data-orig-size=\"799,515\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"scratch-repeat-square\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23072210\/scratch-repeat-square.png\" data-large-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23072210\/scratch-repeat-square.png\" class=\"alignleft size-full wp-image-227\" src=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23072210\/scratch-repeat-square.png\" alt=\"\" width=\"799\" height=\"515\" \/><\/p>\n<h3>Things to Change<\/h3>\n<ul>\n<li>Colours<\/li>\n<li>line size<\/li>\n<li>The Polygon (how do you draw a triangle or pentagon) <strong>Hint: 4 x 90 =360\u00ba<\/strong><\/li>\n<li>The number of repeats in the outer loop. <strong>Hint: 10x 36 =360\u00ba<\/strong><\/li>\n<li>more than one Polygon.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can use repeats and rotation to make interesting patterns from polygons. Remember to add the Pen blocks! I like to set the size of my sprite to 10% Draw a Square Repeat the Square Things to Change Colours line size The Polygon (how do you draw a triangle or pentagon) Hint: 4 x 90 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":230,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18,30,12],"tags":[],"class_list":["post-225","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-maths","category-scratch","category-shape"],"jetpack_featured_media_url":"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbuzz\/uploads\/sites\/35004\/2020\/09\/23100549\/Screenshot-2020-09-23-at-11.03.59.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/posts\/225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":5,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":1138,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/posts\/225\/revisions\/1138"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/media\/230"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbuzz\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}