{"id":2516,"date":"2021-09-20T16:12:59","date_gmt":"2021-09-20T07:12:59","guid":{"rendered":"https:\/\/uda2.com\/blog\/?p=2516"},"modified":"2021-09-27T01:25:03","modified_gmt":"2021-09-26T16:25:03","slug":"shirasu","status":"publish","type":"post","link":"https:\/\/uda2.com\/blog\/shirasu\/","title":{"rendered":"\u30a4\u30ab\u3088\u3051\u30c0\u30f3\u30b9\u3092\u3071\u304f\u3063\u305f\u300c\u3057\u3089\u3059[\u3088\u3051]\u30b2\u30fc\u30e0\u300d"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p><a href=\"http:\/\/julianfrost.co.nz\/work\/\" target=\"_blank\" rel=\"noreferrer noopener\">Julian Frost<\/a>\u3055\u3093\u304c\u4f5c\u3063\u305f\u65e5\u6e05\u98df\u54c1\u306e<a href=\"https:\/\/www.nissin.com\/jp\/products\/cm\/323\" target=\"_blank\" rel=\"noreferrer noopener\">\u30ab\u30c3\u30d7\u30cc\u30fc\u30c9\u30eb\u300c\u30a4\u30ab\u3088\u3051\u30c0\u30f3\u30b9 \u7bc7\u300d<\/a>\u306b\u885d\u6483\u3092\u53d7\u3051\u3066\u30b9\u30de\u30db\u7528\u306eWEB\u30b2\u30fc\u30e0<a href=\"https:\/\/shirasu.uda2.com\" target=\"_blank\" rel=\"noreferrer noopener\">\u300c\u3057\u3089\u3059[\u3088\u3051]\u30b2\u30fc\u30e0\u300d<\/a>\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002<br>\u30a4\u30ab\u3060\u3068\u65e5\u6e05\u3055\u3093\u306b\u6012\u3089\u308c\u308b\u306e\u3067\u3057\u3089\u3059\u306b\u3057\u307e\u3057\u305f\u3002<br>\u30b2\u30fc\u30e0\u5185\u5bb9\u306f2\u672c\u6307\u3067\u3057\u3089\u3059\u3092\u3088\u3051\u3064\u3064\u6307\u306e\u9593\u306b\u5f35\u3089\u308c\u305f\u7db2\u3067\u6355\u7372\u3057\u3001\u4e00\u5b9a\u6570\u3057\u3089\u3059\u3092\u6355\u7372\u3059\u308b\u3068\u73fe\u308c\u308b\u30ec\u30a2\u3082\u3093\uff08\u3057\u3089\u3059\u3068\u540c\u3058\u30b5\u30a4\u30ba\u306e\u751f\u7269\uff09\u3092\u6355\u7372\u3059\u308b\u3068\u30af\u30ea\u30a2\u306b\u306a\u308a\u307e\u3059\u3002<br>\u3057\u3089\u3059\u3084\u3061\u308a\u3081\u3093\u3058\u3083\u3053\u306b\u7d1b\u308c\u308b\u751f\u7269\u306f\u30c1\u30ea\u30e1\u30f3\u30e2\u30f3\u30b9\u30bf\u30fc\uff08\u30c1\u30ea\u30e2\u30f3\uff09\u3068\u304b\u3044\u3046\u540d\u79f0\u304c\u3042\u308b\u305d\u3046\u306a\u306e\u3067\u3059\u304c\u4e00\u822c\u7684\u306a\u540d\u79f0\u3067\u306a\u304f\u5546\u6a19\u3092\u53d6\u3089\u308c\u3066\u308b\u306e\u3067\u907f\u3051\u3066\u30ec\u30a2\u3082\u3093\u3068\u3057\u3066\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>canvas\uff081000px\u00d71400px\uff09\u3060\u3068\u91cd\u304f\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u9762\u5012\u3060\u3051\u3069WEBGL\u3068\u304b\u306e\u65b9\u304c\u3044\u3044\u304b\u306a\u3068\u3082\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u8a66\u3057\u3066\u307f\u308b\u3068iPhone12mini\u306760fps\u51fa\u3066\u305f\u306e\u3067\u554f\u984c\u7121\u304b\u3063\u305f\u3002<br>\u5f53\u305f\u308a\u5224\u5b9a\u306f\u3057\u3089\u3059\u306e\u76ee\u3042\u305f\u308a\u306b\u3057\u3066\u308b\u306e\u3067\u3059\u304c\u70b9\u3068\u70b9\u306e\u885d\u7a81\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u70b9\u3068\u70b9\u306e\u8ddd\u96e2\u3067\u5224\u65ad\u3067\u304d\u308b\u3093\u3060\u3051\u3069<br>\u4eca\u56de\u306f\u7db2\u306a\u306e\u3067\u53f3\u624b\u306e\u5de6\u624b\u306e\u306a\u3059\u7dda\u306b\u5bfe\u3057\u3066\u9b5a\u306e\u70b9\u3067\u5f53\u305f\u308a\u5224\u5b9a\u3092\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u306e\u3067\u8abf\u3079\u308b\u3068\u9ad8\u6821\u3067\u306a\u3089\u3063\u305f\u306f\u305a\u306e\u300c\u70b9\u3068\u76f4\u7dda\u306e\u8ddd\u96e2\u306e\u516c\u5f0f\u300d\u3068\u3044\u3046\u306e\u304c\u4f7f\u3048\u308b\u3089\u3057\u3044\u3002<br>\u305d\u306e\u516c\u5f0f\u306b\u5fc5\u8981\u306a\u76f4\u7dda\u306e\u5f0f\u3092\u5c0e\u304d\u51fa\u3059\u306e\u306b\u300c2\u70b9\u3092\u901a\u308b\u76f4\u7dda\u306e\u65b9\u7a0b\u5f0f\u300d\u306a\u308b\u3082\u306e\u3092\u4f75\u305b\u3066\u5404\u5ea7\u6a19\u3092\u70b9A\uff08\u53f3\u624b\uff09\u70b9B\uff08\u5de6\u624b\uff09\u70b9C\uff08\u9b5a\uff09\u3068\u3057\u3066Javascript\u3067\u66f8\u304f\u3068\u4e0b\u8a18\u306e\u611f\u3058\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<pre><code>Math.abs((By-Ay)(Cx-Ax) - (Bx-Ax)(Cy-Ay)) \/ Math.sqrt(Math.pow(Bx - Ax, 2) + Math.pow(By - Ay, 2)); <\/code><\/pre>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u300cMath.sqrt(Math.pow(Bx &#8211; Ax, 2) + Math.pow(By &#8211; Ay, 2))\u300d\u306f\u70b9A\u3068\u70b9B\u306e\u8ddd\u96e2\u3067\u3059\u3002\u306a\u305c\u8ddd\u96e2\u304c\u95a2\u4fc2\u3059\u308b\u304b\u306f\u4e0d\u660e\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u3053\u308c\u3060\u3051\u3060\u3068\u7db2\u4ed8\u8fd1\u306e\u9b5a\u3057\u304b\u6355\u7372\u3067\u304d\u305a\u6fc0\u3057\u3044\u52d5\u304d\u306e\u969b\u306b\u7db2\u3092\u3059\u308a\u629c\u3051\u308b\u306e\u3067\u524d\u306e\u30d5\u30ec\u30fc\u30e0\u3067\u306e\u53f3\u624b\u306e\u5de6\u624b\u3068\u4eca\u306e\u53f3\u624b\u306e\u5de6\u624b\u304c\u306a\u3059\u56db\u89d2\u5f62\u306e\u5185\u5074\u304b\u3069\u3046\u304b\u306e\u5224\u5b9a\u3082\u4ed8\u3051\u305f\u3002<br>\u3053\u308c\u306f\u30b2\u30fc\u30e0\u3067\u3088\u304f\u4f7f\u3046\u30dd\u30ea\u30b4\u30f3\u5185\u304b\u3092\u5224\u5b9a\u3059\u308b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\uff08Winding Number Algorighm\uff09\u3067\u306a\u3093\u3068\u304b\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u306a\u304a\u30c7\u30fc\u30bf\u306f\u30af\u30c3\u30ad\u30fc\u306b\u4fdd\u5b58\u3055\u308c\u30b5\u30fc\u30d0\u30fc\u306b\u306f\u4fdd\u5b58\u3057\u3066\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u4e21\u624b\u4f7f\u3046\u306e\u3067\u8133\u30c8\u30ec\u306b\u3082\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093 <a href=\"https:\/\/shirasu.uda2.com\" target=\"_blank\" rel=\"noreferrer noopener\">\u300c\u3057\u3089\u3059[\u3088\u3051]\u30b2\u30fc\u30e0\u300d<\/a>\u3092\u8a66\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u79c1\u306f\u3053\u306e\u30b2\u30fc\u30e0\u3092\u4f5c\u308b\u306b\u3042\u305f\u308a\u3060\u3044\u3076\u3068\u9b5a\u306e\u7a1a\u9b5a\u306b\u8a73\u3057\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Julian Frost\u3055\u3093\u304c\u4f5c\u3063\u305f\u65e5\u6e05\u98df\u54c1\u306e\u30ab\u30c3\u30d7\u30cc\u30fc\u30c9\u30eb\u300c\u30a4\u30ab\u3088\u3051\u30c0\u30f3\u30b9 \u7bc7\u300d\u306b\u885d\u6483\u3092\u53d7\u3051\u3066\u30b9\u30de\u30db\u7528\u306eWEB\u30b2\u30fc\u30e0\u300c\u3057\u3089\u3059[\u3088\u3051]\u30b2\u30fc\u30e0\u300d\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002\u30a4\u30ab\u3060\u3068\u65e5\u6e05\u3055\u3093\u306b\u6012\u3089\u308c\u308b\u306e\u3067\u3057\u3089\u3059\u306b\u3057\u307e\u3057\u305f\u3002\u30b2\u30fc\u30e0\u5185\u5bb9\u306f2\u672c<\/p>\n","protected":false},"author":2,"featured_media":2518,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[205],"tags":[266,364],"class_list":["post-2516","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-creatorsdiary","tag-canvas","tag-364"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/comments?post=2516"}],"version-history":[{"count":6,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2516\/revisions"}],"predecessor-version":[{"id":2524,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/posts\/2516\/revisions\/2524"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/media\/2518"}],"wp:attachment":[{"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/media?parent=2516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/categories?post=2516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uda2.com\/blog\/wp-json\/wp\/v2\/tags?post=2516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}