{"id":9276,"date":"2022-10-05T19:00:00","date_gmt":"2022-10-05T10:00:00","guid":{"rendered":"https:\/\/taki-lab.site\/bocci\/?p=9276"},"modified":"2022-10-02T10:24:14","modified_gmt":"2022-10-02T01:24:14","slug":"%e3%80%90%e6%95%b0%e5%ad%a6%e3%80%91%e3%80%90python%e3%80%91%e4%b8%89%e8%a7%92%e9%96%a2%e6%95%b0%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e5%86%86%e3%82%92%e6%8f%8f%e7%94%bb%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=9276","title":{"rendered":"\u3010\u6570\u5b66\u3011\u3010PYTHON\u3011\u4e09\u89d2\u95a2\u6570\u3092\u4f7f\u3063\u3066\u5186\u3092\u63cf\u753b\u3059\u308b"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-\u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f wp-block-embed-\u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"j1XIlTwFzD\"><a href=\"https:\/\/taki-lab.site\/bocci\/?p=9198\">\u3010\u6570\u5b66\u3011\u3010PYTHON\u3011\u5782\u76f4\u4e8c\u7b49\u5206\u7dda\u3092\u6c42\u3081\u308b<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u3010\u6570\u5b66\u3011\u3010PYTHON\u3011\u5782\u76f4\u4e8c\u7b49\u5206\u7dda\u3092\u6c42\u3081\u308b&#8221; &#8212; \u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\" src=\"https:\/\/taki-lab.site\/bocci\/?p=9198&#038;embed=true#?secret=CRCZ6laCon#?secret=j1XIlTwFzD\" data-secret=\"j1XIlTwFzD\" width=\"474\" height=\"267\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>import matplotlib.pyplot as plt\r\nimport numpy as np\r\n\r\n#\u89d2\u5ea6\r\nth = np.arange(0, 360)\r\n\r\n#\u5186\u5468\u4e0a\u306e\u70b9P\u306e\u5ea7\u6a19\r\nx = np.cos(np.radians(th))\r\ny = np.sin(np.radians(th))\r\n\r\n#\u63cf\u753b\r\nplt.plot(x, y)\r\nplt.axis('equal')\r\nplt.grid(color='0.8')\r\nplt.show()\r\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u89d2\u5ea60\uff5e360\u306b\u5bfe\u3057\u3066<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">x\u5ea7\u6a19\u3092\u30b3\u30b5\u30a4\u30f3\u3067\u3001y\u5ea7\u6a19\u3092\u30b5\u30a4\u30f3\u3067\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3068\u304d\u3001\u5f15\u6570\u306e\u89d2\u5ea6\u306f\u30e9\u30b8\u30a2\u30f3\u3067\u4e0e\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"253\" data-attachment-id=\"9278\" data-permalink=\"https:\/\/taki-lab.site\/bocci\/?attachment_id=9278\" data-orig-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-02-102245.png?fit=1167%2C622&amp;ssl=1\" data-orig-size=\"1167,622\" 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=\"Screenshot-2022-10-02-102245\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-02-102245.png?fit=474%2C253&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-02-102245.png?resize=474%2C253&#038;ssl=1\" alt=\"\" class=\"wp-image-9278\" srcset=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-02-102245.png?resize=1024%2C546&amp;ssl=1 1024w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-02-102245.png?resize=300%2C160&amp;ssl=1 300w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-02-102245.png?resize=768%2C409&amp;ssl=1 768w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-02-102245.png?w=1167&amp;ssl=1 1167w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-02-102245.png?w=948&amp;ssl=1 948w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u89d2\u5ea60\uff5e360\u306b\u5bfe\u3057\u3066 x\u5ea7\u6a19\u3092\u30b3\u30b5\u30a4\u30f3\u3067\u3001y\u5ea7\u6a19\u3092\u30b5\u30a4\u30f3\u3067\u8a08\u7b97\u3057\u307e\u3059\u3002 \u3053\u306e\u3068\u304d\u3001\u5f15\u6570\u306e\u89d2\u5ea6\u306f\u30e9\u30b8\u30a2\u30f3\u3067\u4e0e\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2806,3],"tags":[],"class_list":["post-9276","post","type-post","status-publish","format-standard","hentry","category-python","category-3"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8SDbY-2pC","jetpack-related-posts":[{"id":10070,"url":"https:\/\/taki-lab.site\/bocci\/?p=10070","url_meta":{"origin":9276,"position":0},"title":"\u3010\u6570\u5b66\u3011\u3010PYTHON\u3011\u30d9\u30af\u30c8\u30eb\u306e\u65b9\u5411\u3092\u6c42\u3081\u308b","author":"taki","date":"2023\u5e742\u67082\u65e5","format":false,"excerpt":"https:\/\/taki-lab.site\/bocci\/?p=9978 \u30d9\u30af\u30c8\u30eb\u304c\u793a\u3059\u5ea7\u6a19(x,y)\u2026","rel":"","context":"Python","block_context":{"text":"Python","link":"https:\/\/taki-lab.site\/bocci\/?cat=2806"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2023\/01\/993e4d9533607bebf14169a859c40f8c.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10166,"url":"https:\/\/taki-lab.site\/bocci\/?p=10166","url_meta":{"origin":9276,"position":1},"title":"\u3010\u6570\u5b66\u3011\u3010PYTHON\u30112\u3064\u306e\u30d9\u30af\u30c8\u30eb\u306e\u306a\u3059\u89d2\u5ea6\u3092\u6c42\u3081\u308b\u3002","author":"taki","date":"2023\u5e742\u670815\u65e5","format":false,"excerpt":"https:\/\/taki-lab.site\/bocci\/?p=10126 \u3053\u306e\u516c\u5f0f\u3067\u6c42\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u2026","rel":"","context":"Python","block_context":{"text":"Python","link":"https:\/\/taki-lab.site\/bocci\/?cat=2806"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2023\/02\/6df66b262b1ccbc8a42146cf1e82ef62.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9415,"url":"https:\/\/taki-lab.site\/bocci\/?p=9415","url_meta":{"origin":9276,"position":2},"title":"\u3010\u6570\u5b66\u3011\u3010PYTHON\u3011\u76f4\u89d2\u3092\u631f\u30802\u8fba\u306e\u6bd4\u304b\u3089\u89d2\u5ea6\u3092\u6c42\u3081\u308b","author":"taki","date":"2022\u5e7410\u670826\u65e5","format":false,"excerpt":"https:\/\/taki-lab.site\/bocci\/?p=9276 \u3053\u306e\u56f3\u306e\u03b8\u3092\u6c42\u3081\u307e\u3059\u3002 \u3053\u308c\u2026","rel":"","context":"Python","block_context":{"text":"Python","link":"https:\/\/taki-lab.site\/bocci\/?cat=2806"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/10\/b95cd1b36e69e605eea8dda6e5996208.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3232,"url":"https:\/\/taki-lab.site\/bocci\/?p=3232","url_meta":{"origin":9276,"position":3},"title":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u3010GLCD\u3011\u753b\u9762\u306b\u76f4\u7dda\u3092\u5f15\u304f","author":"taki","date":"2020\u5e746\u67089\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=3217 \u6700\u2026","rel":"","context":"Raspberry Pi","block_context":{"text":"Raspberry Pi","link":"https:\/\/taki-lab.site\/bocci\/?cat=187"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/IMG_20200609_073101-scaled.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/IMG_20200609_073101-scaled.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/IMG_20200609_073101-scaled.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/IMG_20200609_073101-scaled.jpg?resize=700%2C400 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/IMG_20200609_073101-scaled.jpg?resize=1050%2C600 3x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/IMG_20200609_073101-scaled.jpg?resize=1400%2C800 4x"},"classes":[]},{"id":4261,"url":"https:\/\/taki-lab.site\/bocci\/?p=4261","url_meta":{"origin":9276,"position":4},"title":"\u3010Cocos2d-x\u3011\u30d5\u30ea\u30c3\u30af\u51e6\u7406\u3092\u884c\u3046","author":"taki","date":"2020\u5e7410\u67086\u65e5","format":false,"excerpt":"\u3082\u3046\u4e00\u3064\u3084\u308a\u305f\u3044\u306e\u306f\u30d5\u30ea\u30c3\u30af\u51e6\u7406\u3002 \u4f7f\u7528\u3059\u308b\u30cf\u30f3\u30c9\u30e9\u306fonTouchBegan\u3068onTouchEnd\u2026","rel":"","context":"Cocos2d-x","block_context":{"text":"Cocos2d-x","link":"https:\/\/taki-lab.site\/bocci\/?cat=216"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/Screenshot_20201006-074331.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/Screenshot_20201006-074331.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/Screenshot_20201006-074331.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/Screenshot_20201006-074331.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/Screenshot_20201006-074331.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/Screenshot_20201006-074331.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":9484,"url":"https:\/\/taki-lab.site\/bocci\/?p=9484","url_meta":{"origin":9276,"position":5},"title":"\u3010\u6570\u5b66\u3011\u3010PYTHON\u3011\u5e73\u65b9\u6839\u306e\u5b9a\u7406\u3067\u5186\u3092\u63cf\u304f","author":"taki","date":"2022\u5e7411\u67084\u65e5","format":false,"excerpt":"https:\/\/taki-lab.site\/bocci\/?p=9415 \u5e73\u65b9\u6839\u306e\u5b9a\u7406\u306fa^2+b^2\u2026","rel":"","context":"Python","block_context":{"text":"Python","link":"https:\/\/taki-lab.site\/bocci\/?cat=2806"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/11\/808d1c880d278dbbba580e2c76923572.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/11\/808d1c880d278dbbba580e2c76923572.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/11\/808d1c880d278dbbba580e2c76923572.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/11\/808d1c880d278dbbba580e2c76923572.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2022\/11\/808d1c880d278dbbba580e2c76923572.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/9276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9276"}],"version-history":[{"count":1,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/9276\/revisions"}],"predecessor-version":[{"id":9279,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/9276\/revisions\/9279"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}