{"id":5152,"date":"2026-01-17T22:53:02","date_gmt":"2026-01-17T13:53:02","guid":{"rendered":"https:\/\/blog2.dypg.jp\/wp\/?p=5152"},"modified":"2026-01-17T22:53:02","modified_gmt":"2026-01-17T13:53:02","slug":"lets-learn-to-code-%e3%80%90%e5%87%ba%e5%b1%8b%e6%95%b7%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e6%95%99%e5%ae%a4%e3%80%91%ef%bc%92%ef%bc%90%ef%bc%92%ef%bc%96%e5%b9%b4","status":"publish","type":"post","link":"https:\/\/blog2.dypg.jp\/wp\/?p=5152","title":{"rendered":"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff16\u5e74\uff10\uff11\u6708\uff11\uff17\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011"},"content":{"rendered":"<p>sin,cos\u306f-1\u301c1\u306e\u5024\u3092\u8fd4\u3057\u3066\u304f\u308c\u308b\u95a2\u6570\u306a\u306e\u3067\u3001<br \/>\n\u6ce2\u306e\u3088\u3046\u306a\u52d5\u304d\u3092\u4f5c\u308b\u3068\u304d\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u5149\u7dda\u306e\u307e\u308f\u308a\u306b\u307e\u3068\u308f\u308a\u3064\u304f\u6f14\u51fa\u3068\u3057\u3066\u4f7f\u3044\u307e\u3057\u305f\u3002<br \/>\n\u6e21\u3059\u89d2\u5ea6\u306e\u5024\u3092\u5927\u304d\u304f\u3059\u308b\u3053\u3068\u3067\u6ce2\u306e\u9593\u9694\u3092\u72ed\u304f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3088\u3002<br \/>\n\u305c\u3072\u81ea\u5206\u3067\u8abf\u6574\u3057\u3066\u8a66\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>Since the sine(sin) and cosine(cos) functions return values between -1 and 1, they are useful for creating wave-like motion.<\/p>\n<p>In this case, they are used to create an effect that wraps around a beam of light.<br \/>\nBy increasing the angle value passed to the functions, you can make the waves closer together.<br \/>\nPlease try adjusting the values yourself and see how the motion changes.<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u56de<\/p>\n<p><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u585a\u53e3\u3055\u3093\u3055\u3093\u30bf\u30a6\u30f3\u6559\u5ba4\u3000\uff10\uff11<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u6708\uff11\uff18<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/www.dypg.jp\/\">\u51fa\u5c4b\u6577\u6559\u5ba4\u3000\uff10\uff11<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u6708\uff12\uff14<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukasin\/4687348\/\">\u3064\u304b\u3057\u3093\u6559\u5ba4\u3000\uff10\uff11\u6708\uff12\uff15\u65e5<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7739.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5153\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7739.jpg\" alt=\"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff16\u5e74\uff10\uff11\u6708\uff11\uff17\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7739.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7739-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a> <a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7744.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5154\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7744.jpg\" alt=\"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff16\u5e74\uff10\uff11\u6708\uff11\uff17\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7744.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7744-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a> <a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7745.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5155\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7745.jpg\" alt=\"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff16\u5e74\uff10\uff11\u6708\uff11\uff17\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7745.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7745-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n ","protected":false},"excerpt":{"rendered":"<p>sin,cos\u306f-1\u301c1\u306e\u5024\u3092\u8fd4\u3057\u3066<\/p>\n","protected":false},"author":1,"featured_media":5154,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,70,67,16,69],"tags":[],"class_list":["post-5152","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3","category-70","category-67","category-16","category-69"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5152"}],"version-history":[{"count":1,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5152\/revisions"}],"predecessor-version":[{"id":5156,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5152\/revisions\/5156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/media\/5154"}],"wp:attachment":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}