{"id":3033,"date":"2023-09-12T16:08:46","date_gmt":"2023-09-12T07:08:46","guid":{"rendered":"https:\/\/hirake.link\/?p=3033"},"modified":"2023-09-12T16:09:15","modified_gmt":"2023-09-12T07:09:15","slug":"scratch%e3%81%a7%e3%81%84%e3%82%8d%e3%82%93%e3%81%aa%e6%98%9f%e3%82%92%e6%8f%8f%e3%81%8f-%e4%ba%94%e3%80%81%e5%85%ad%e3%80%81%e4%b8%83%e3%80%81%e5%85%ab%e8%8a%92%e6%98%9f","status":"publish","type":"post","link":"https:\/\/hirake.link\/en\/scratch%e3%81%a7%e3%81%84%e3%82%8d%e3%82%93%e3%81%aa%e6%98%9f%e3%82%92%e6%8f%8f%e3%81%8f-%e4%ba%94%e3%80%81%e5%85%ad%e3%80%81%e4%b8%83%e3%80%81%e5%85%ab%e8%8a%92%e6%98%9f\/","title":{"rendered":"Drawing Various Stars in Scratch: Five, Six, Seven, and Eight-Pointed Stars"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Five-Pointed Star<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"275\" height=\"324\" src=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c5.png\" alt=\"\" class=\"wp-image-1215\" srcset=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c5.png 275w, https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c5-255x300.png 255w\" sizes=\"auto, (max-width: 275px) 100vw, 275px\" \/><\/figure>\n\n\n\n<p>The sum of interior angles at the vertices of a five-pointed star is 180(n-4), where n=5, resulting in 180 degrees.<\/p>\n\n\n\n<p>For a regular five-pointed star, each vertex angle is 180\/5=36 degrees. To draw it, you can follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Draw a line.<\/li><li>Rotate it by 180 &#8211; 36 = 144 degrees.<\/li><li>Repeat this process five times.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Seven-Pointed Star<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"257\" height=\"326\" src=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c7.png\" alt=\"\" class=\"wp-image-1214\" srcset=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c7.png 257w, https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c7-237x300.png 237w\" sizes=\"auto, (max-width: 257px) 100vw, 257px\" \/><\/figure>\n\n\n\n<p>The sum of interior angles at the vertices of a seven-pointed star is 180(n-6), where n=7, resulting in 180 degrees.<\/p>\n\n\n\n<p>For a regular seven-pointed star, each vertex angle is (180\/7) degrees. To draw it, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Draw a line.<\/li><li>Rotate it by 180 &#8211; (180\/7) degrees.<\/li><li>Repeat this process seven times.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Eight-Pointed Star<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"321\" src=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c8.png\" alt=\"\" class=\"wp-image-1213\" srcset=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c8.png 250w, https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c8-234x300.png 234w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/figure>\n\n\n\n<p>The sum of interior angles at the vertices of an eight-pointed star is 180(n-6), where n=8, resulting in 360 degrees.<\/p>\n\n\n\n<p>For a regular eight-pointed star, each vertex angle is 180\/8=45 degrees. To draw it, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Draw a line.<\/li><li>Rotate it by 180 &#8211; 45 = 135 degrees.<\/li><li>Repeat this process eight times.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Six-Pointed Star<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"359\" height=\"637\" src=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c6.png\" alt=\"\" class=\"wp-image-1216\" srcset=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c6.png 359w, https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/\u7121\u984c6-169x300.png 169w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><\/figure>\n\n\n\n<p>A six-pointed star cannot be drawn continuously. You can create one by shifting two regular triangles.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Draw a line.<\/li><li>Rotate it by 130 degrees.<\/li><li>Repeat this process 3 times.<\/li><li>Move 1\/3 of the height of the triangle<\/li><li>Draw another triangle<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Drawing Stars Randomly<\/h2>\n\n\n\n<p>The following is a program that draws the created stars in random positions, angles, and colors.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"436\" height=\"777\" src=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/randomstar.png\" alt=\"\" class=\"wp-image-1217\" srcset=\"https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/randomstar.png 436w, https:\/\/hirake.link\/wp-content\/uploads\/2021\/04\/randomstar-168x300.png 168w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/figure>\n\n\n\n<iframe loading=\"lazy\" src=\"https:\/\/scratch.mit.edu\/projects\/516515765\/embed\" allowtransparency=\"true\" width=\"485\" height=\"402\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"><\/iframe>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Five-Pointed Star The sum of interior angles at the vertices of a five-pointed star is 180(n-4), where n=5, resulting in 180 degrees. For a regular five-pointed star, each vertex angle is 180\/5=36 degrees. To draw it, you can follow these steps: Draw a line. Rotate it by 180 &#8211; 36 = 144 degrees. Repeat this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1218,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/hirake.link\/?p=1209","footnotes":""},"categories":[11],"tags":[24],"class_list":["post-3033","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","tag-scratch","en-US"],"_links":{"self":[{"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/posts\/3033","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/comments?post=3033"}],"version-history":[{"count":2,"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/posts\/3033\/revisions"}],"predecessor-version":[{"id":3035,"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/posts\/3033\/revisions\/3035"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/media\/1218"}],"wp:attachment":[{"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/media?parent=3033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/categories?post=3033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hirake.link\/wp-json\/wp\/v2\/tags?post=3033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}