{"id":5077,"date":"2025-11-29T22:42:47","date_gmt":"2025-11-29T13:42:47","guid":{"rendered":"https:\/\/blog2.dypg.jp\/wp\/?p=5077"},"modified":"2025-11-29T22:42:47","modified_gmt":"2025-11-29T13:42:47","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%95%e5%b9%b4-34","status":"publish","type":"post","link":"https:\/\/blog2.dypg.jp\/wp\/?p=5077","title":{"rendered":"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff15\u5e74\uff11\uff11\u6708\uff12\uff19\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011"},"content":{"rendered":"<p>\u30d0\u30cd\u306e\u52d5\u304d\u3092\u4f5c\u308b\u306b\u306f\u3001\u76ee\u6a19\u3068\u306a\u308b\u5ea7\u6a19\u3068\u76ee\u6a19\u306b\u8fd1\u3065\u304f\u305f\u3081\u306e\u79fb\u52d5\u5024\u3068\u3044\u3046\uff12\u3064\u306e\u5909\u6570\u3092\u4f5c\u308b\u3068\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<br \/>\n\u30af\u30ea\u30c3\u30af\u3057\u305f\u5ea7\u6a19\u3092\u76ee\u6a19\u3068\u306a\u308b\u5ea7\u6a19\u3002\u30af\u30ea\u30c3\u30af\u3057\u305f\u5834\u6240\u3068\u3001\u4eca\u306e\u4f4d\u7f6e\u306e\u8ddd\u96e2\u3092\u79fb\u52d5\u5024\u3068\u3057\u3066\u6e1b\u8870\u3055\u305b\u306a\u304c\u3089\u9032\u3081\u308b\u3053\u3068\u3067\u3001\u76ee\u6a19\u306e\u5ea7\u6a19\u3092\u8d85\u3048\u3066\u3082\u3001\u518d\u5ea6\u65b9\u5411\u3092\u5909\u3048\u3066\u79fb\u52d5\u3059\u308b\u306e\u3067\u3001\u30d0\u30cd\u306e\u3088\u3046\u306b\u52d5\u304d\u307e\u3059\u3002<\/p>\n<p>To create spring-like motion, you can use two variables: a target position and a movement value that moves the object toward the target.<br \/>\nThe position where you click bevomes the target position.<br \/>\nThe distance between the current position and the click position is used as the movement value, which gradually decreases over time.<br \/>\nBecause the movement value does not immediately become zero, the object overshoots the target and then changes direction, creating a spring-like motion.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u56de<\/p>\n<p><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukasin\/4687348\/\">\u3064\u304b\u3057\u3093\u6559\u5ba4\u3000\uff11\uff11\u6708\uff13\uff10\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/www.dypg.jp\/\">\u51fa\u5c4b\u6577\u6559\u5ba4\u3000\uff11\uff12<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u6708\uff10\uff16<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u65e5<\/a><\/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\uff11\uff12<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u6708\uff10\uff17<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u65e5<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7435.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5078\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7435.jpg\" alt=\"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff15\u5e74\uff11\uff11\u6708\uff12\uff19\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\/2025\/11\/IMG_7435.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7435-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a> <a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7440.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5079\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7440.jpg\" alt=\"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff15\u5e74\uff11\uff11\u6708\uff12\uff19\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\/2025\/11\/IMG_7440.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7440-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a> <a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7448.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5080\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7448.jpg\" alt=\"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff15\u5e74\uff11\uff11\u6708\uff12\uff19\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\/2025\/11\/IMG_7448.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2025\/11\/IMG_7448-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n ","protected":false},"excerpt":{"rendered":"<p>\u30d0\u30cd\u306e\u52d5\u304d\u3092\u4f5c\u308b\u306b\u306f\u3001\u76ee\u6a19\u3068\u306a\u308b\u5ea7\u6a19<\/p>\n","protected":false},"author":1,"featured_media":5078,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,70,67,16,69],"tags":[],"class_list":["post-5077","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\/5077","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=5077"}],"version-history":[{"count":1,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5077\/revisions"}],"predecessor-version":[{"id":5081,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5077\/revisions\/5081"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/media\/5078"}],"wp:attachment":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}