{"id":3019,"date":"2025-10-01T01:16:53","date_gmt":"2025-10-01T01:16:53","guid":{"rendered":"https:\/\/satokotadesign.com\/blog\/?p=3019"},"modified":"2025-10-01T01:16:53","modified_gmt":"2025-10-01T01:16:53","slug":"matter-js","status":"publish","type":"post","link":"https:\/\/satokotadesign.com\/blog\/matter-js\/","title":{"rendered":"\u30af\u30ea\u30c3\u30af\u3067\u30ac\u30e9\u30b9\u7834\u7247\u304c\u98db\u3073\u6563\u308b\uff01\u30ea\u30a2\u30eb\u306a\u30a8\u30d5\u30a7\u30af\u30c8\u3092CSS\u00d7Matter.js\u3067\u5b9f\u88c5"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u3057\u3066\u3044\u307e\u3059\u5c0f\u7027\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u8996\u899a\u7684\u306a\u30a4\u30f3\u30d1\u30af\u30c8\u3092\u4e0e\u3048\u308b\u300c<span class=\"sc_marker-animation\">\u30ac\u30e9\u30b9\u304c\u30d1\u30ea\u30fc\u30f3\u3068\u5272\u308c\u308b\u3088\u3046\u306b\u898b\u51fa\u3057\u304c\u51fa\u73fe\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u300d<\/span>\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ac\u30e9\u30b9\u306e\u7834\u7247\u304c\u6563\u3089\u3070\u308b\u3088\u3046\u306a\u6f14\u51fa\u306f\u3001\u30db\u30e9\u30fc\u7cfb\u3084\u30af\u30fc\u30eb\u306a\u30c7\u30b6\u30a4\u30f3\u3001\u30a4\u30d9\u30f3\u30c8\u7528\u30b5\u30a4\u30c8\u306a\u3069\u3067\u52b9\u679c\u7684\u306b\u4f7f\u3048\u308b\u88c5\u98fe\u3067\u3059\u3002<br \/>\nCSS\u3068JavaScript\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u6bd4\u8f03\u7684\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067\u518d\u73fe\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<hr class=\"diver-hr style-solid hr-content-text is-align-center\" style=\"color:#ccc;height:1px;background-image:linear-gradient(to right, #ccc, #ccc);\">\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u30ac\u30e9\u30b9\u7834\u7247\u98a8\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30e2\u30b3\u30fc\u30c9<\/span><\/h2>\n<p class=\"codepen\" data-height=\"300\" data-default-tab=\"html,result\" data-slug-hash=\"VYejGaX\" data-pen-title=\"Untitled\" data-user=\"ekwwawpb-the-styleful\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\/pen\/VYejGaX\"><br \/>\n  Untitled<\/a> by \u5c0f\u7027\u8ce2 (<a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\">@ekwwawpb-the-styleful<\/a>)<br \/>\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<p><script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script><\/p>\n<p>\u307e\u305a\u306f\u898b\u51fa\u3057\u8981\u7d20\u3092\u8907\u6570\u306e\u30b9\u30d1\u30f3\uff08\u7834\u7247\uff09\u306b\u5206\u5272\u3057\u3001\u305d\u308c\u305e\u308c\u306b\u7570\u306a\u308b\u52d5\u304d\u3092\u4e0e\u3048\u308b\u3053\u3068\u3067\u300c\u7815\u3051\u3066\u98db\u3073\u6563\u308b\u300d\u3088\u3046\u306a\u52b9\u679c\u3092\u6f14\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u30011\u6587\u5b57\u3054\u3068\u306b<span class=\"fontbackground\" style=\"background:;\"> span <\/span>\u3092\u5206\u3051\u308b\u3053\u3068\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">CSS\u3067\u7834\u7247\u306e\u98db\u3073\u6563\u308a\u3092\u8868\u73fe<\/span><\/h2>\n<p>\u305d\u308c\u305e\u308c\u306e\u6587\u5b57\uff08\u7834\u7247\uff09\u306b\u5bfe\u3057\u3066\u30e9\u30f3\u30c0\u30e0\u306a\u4f4d\u7f6e\u3084\u56de\u8ee2\u3092\u4ed8\u4e0e\u3057\u3001\u30ac\u30e9\u30b9\u304c\u98db\u3073\u6563\u308b\u3088\u3046\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u52a0\u3048\u307e\u3059\u3002<\/p>\n<p>\u3053\u306eCSS\u3067\u306f<span class=\"sc_marker-animation\">\u7834\u7247\u304c\u4e00\u5ea6\u6d6e\u304d\u4e0a\u304c\u3063\u3066\u304b\u3089\u623b\u308b\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">JavaScript\u3067\u30e9\u30f3\u30c0\u30e0\u6027\u3092\u8ffd\u52a0<\/span><\/h2>\n<p>\u30ea\u30a2\u30eb\u306a\u300c\u7834\u7247\u611f\u300d\u3092\u51fa\u3059\u305f\u3081\u306b\u306f\u3001\u5404\u6587\u5b57\u306e\u52d5\u304d\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3088\u308a\u8feb\u529b\u304c\u5897\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u6587\u5b57\u304c<span class=\"sc_marker-animation\">\u300c\u30d0\u30e9\u30d0\u30e9\u306b\u98db\u3073\u6563\u308a\u3001\u518d\u3073\u96c6\u307e\u3063\u3066\u898b\u51fa\u3057\u304c\u73fe\u308c\u308b\u300d<\/span>\u3088\u3046\u306a\u6f14\u51fa\u304c\u5b8c\u6210\u3057\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u5fdc\u7528\u7de8\uff1a\u300c\u7834\u7247\u304c\u4e0b\u306b\u843d\u3061\u3066\u6d88\u3048\u3066\u3044\u304f\u300d<\/span><\/h2>\n<p class=\"codepen\" data-height=\"300\" data-default-tab=\"html,result\" data-slug-hash=\"ogbLPLp\" data-pen-title=\"Untitled\" data-user=\"ekwwawpb-the-styleful\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\/pen\/ogbLPLp\"><br \/>\n  Untitled<\/a> by \u5c0f\u7027\u8ce2 (<a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\">@ekwwawpb-the-styleful<\/a>)<br \/>\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<p><script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script><\/p>\n<div class=\"sc_designlist ul fa_check blue\">\n<ul>\n<li>\u4e0b\u306b\u843d\u3061\u308b\u52d5\u304d\u3092\u8ffd\u52a0\u3057\u3066\u3001\u91cd\u529b\u3067\u7834\u7247\u304c\u843d\u3061\u308b\u3088\u3046\u306b\u898b\u305b\u308b\u3002<\/li>\n<li>opacity\u30920\u306b\u3057\u3066\u6d88\u6ec5\u3059\u308b\u306e\u3067\u3001\u30ac\u30e9\u30b9\u7247\u304c\u6d88\u3048\u308b\u3088\u3046\u306a\u6f14\u51fa\u306b\u3002<\/li>\n<li>\u4e00\u5b9a\u6642\u9593\u5f8c\u306b \u30c6\u30ad\u30b9\u30c8\u304c\u5fa9\u5143 \u3055\u308c\u308b\u306e\u3067\u3001\u30af\u30ea\u30c3\u30af\u3067\u4f55\u5ea6\u3082\u697d\u3057\u3081\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/div>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u5fdc\u7528\u7de8\uff1a\u300c\u7269\u7406\u6f14\u7b97\u98a8\u3067\u7834\u7247\u304c\u5e8a\u306b\u843d\u3061\u3066\u8df3\u306d\u8fd4\u308b\u300d<\/span><\/h2>\n<p class=\"codepen\" data-height=\"300\" data-default-tab=\"html,result\" data-slug-hash=\"KwVMxgw\" data-pen-title=\"Untitled\" data-user=\"ekwwawpb-the-styleful\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\/pen\/KwVMxgw\"><br \/>\n  Untitled<\/a> by \u5c0f\u7027\u8ce2 (<a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\">@ekwwawpb-the-styleful<\/a>)<br \/>\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<p><script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script><\/p>\n<div class=\"sc_designlist ul fa_check blue\">\n<ul>\n<li>JavaScript\u3067\u91cd\u529b\u3068\u53cd\u5c04\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3002<\/li>\n<li>\u5e8a\u306b\u5f53\u305f\u308b\u3068 \u30d0\u30a6\u30f3\u30c9\u3057\u3066\u5f90\u3005\u306b\u6e1b\u901f\u3002<\/li>\n<li>\u4e00\u5b9a\u6642\u9593\u5f8c\u306b \u81ea\u7136\u306b\u5143\u306e\u4f4d\u7f6e\u306b\u623b\u308b\u3002<\/li>\n<\/ul>\n<\/div>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u5fdc\u7528\u7de8\uff1a\u300c\u7269\u7406\u6f14\u7b97\u98a8\u3067\u7834\u7247\u304c\u5e8a\u306b\u843d\u3061\u3066\u8df3\u306d\u8fd4\u308b\u300d<\/span><\/h2>\n<p class=\"codepen\" data-height=\"300\" data-default-tab=\"html,result\" data-slug-hash=\"gbPMdwQ\" data-pen-title=\"Untitled\" data-user=\"ekwwawpb-the-styleful\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n  <span>See the Pen <a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\/pen\/gbPMdwQ\"><br \/>\n  Untitled<\/a> by \u5c0f\u7027\u8ce2 (<a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\">@ekwwawpb-the-styleful<\/a>)<br \/>\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n<\/p>\n<p><script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script><\/p>\n<div class=\"sc_designlist ul fa_check blue\">\n<ul>\n<li>Matter.js \u3092\u5229\u7528\u3057\u3066\u7834\u7247\u306b\u7269\u7406\u6f14\u7b97\u3092\u4ed8\u4e0e<\/li>\n<li>\u7834\u7247\u306f\u5e8a\u306b\u843d\u3061\u3066 \u30d0\u30a6\u30f3\u30c9 \u2192 \u8ee2\u304c\u308a \u2192 \u5f90\u3005\u306b\u6d88\u3048\u308b<\/li>\n<li>\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u898b\u51fa\u3057\u304c\u7834\u7247\u5316<\/li>\n<\/ul>\n<\/div>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u307e\u3068\u3081<\/span><\/h2>\n<p><span class=\"sc_marker-animation\">\u30ac\u30e9\u30b9\u306e\u7834\u7247\u304c\u98db\u3073\u6563\u308b<\/span>\u3088\u3046\u306b\u898b\u51fa\u3057\u304c\u73fe\u308c\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306aCSS\u3068\u5c11\u3057\u306eJavaScript\u3067\u5b9f\u73fe\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u7279\u306b\u30a4\u30f3\u30d1\u30af\u30c8\u3092\u4e0e\u3048\u305f\u3044\u30a4\u30d9\u30f3\u30c8\u30da\u30fc\u30b8\u3084\u7279\u8a2d\u30b5\u30a4\u30c8\u306b\u3074\u3063\u305f\u308a\u306e\u8868\u73fe\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072CodePen\u3067\u8a66\u3057\u306a\u304c\u3089\u3001\u81ea\u5206\u306e\u30b5\u30a4\u30c8\u306b\u5408\u308f\u305b\u305f\u8abf\u6574\u3092\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"sc_heading solid red\"><span class=\"sc_title\">satokotadesign\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u5b9f\u65bd\u4e2d\uff01<\/span><\/h2>\n<div class=\"campaign_bnr\" style=\"margin:0 5%;\"><a href=\"https:\/\/hamameshi.jp\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/satokotadesign.com\/img\/bnr-hamameshi.webp\" alt=\"\u6d5c\u677e\u5e02\u306e\u98f2\u98df\u5e97\u9650\u5b9a\uff5c\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u7121\u6599\u4f5c\u6210\u30b5\u30fc\u30d3\u30b9\" style=\"border: 3px solid #00a08c;border-radius: 20px;\"><\/a><\/div>\n<div class=\"campaign_bnr\" style=\"margin:0 5%;\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/img\/bnr-onayami.png\" alt=\"\u3076\u3063\u3061\u3083\u3051\u7121\u6599\u76f8\u8ac7\u4f1a\uff01\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306e\u60a9\u307f\u8a71\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f\" style=\"border: 3px solid #f02025;border-radius: 20px;\" class=\"lazyload\" \/><\/a><\/div>\n<div class=\"campaign_bnr\"  style=\"margin:0 5%;\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/img\/bnr-kansyasai.png\" alt=\"satokotadesign4\u5468\u5e74\u8a18\u5ff5\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\" style=\"border: 3px solid #4183fe;border-radius: 20px;\" class=\"lazyload\" \/><\/a><\/div>\n<p><figure id=\"attachment_475\" aria-describedby=\"caption-attachment-475\" style=\"width: 1500px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/satokotadesign.com\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr.jpg\" alt=\"\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306a\u3089satokotadesign\" width=\"1500\" height=\"500\" class=\"size-full wp-image-475 lazyload\" data-srcset=\"https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr.jpg 1500w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-500x167.jpg 500w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-1024x341.jpg 1024w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-768x256.jpg 768w\" data-sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><figcaption id=\"caption-attachment-475\" class=\"wp-caption-text\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\">\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306a\u3089satokotadesign<\/a><\/figcaption><\/figure><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u3057\u3066\u3044\u307e\u3059\u5c0f\u7027\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001\u8996\u899a\u7684\u306a\u30a4\u30f3\u30d1\u30af\u30c8\u3092\u4e0e\u3048\u308b\u300c\u30ac\u30e9\u30b9\u304c\u30d1\u30ea\u30fc\u30f3\u3068\u5272\u308c\u308b\u3088\u3046\u306b\u898b\u51fa\u3057\u304c\u51fa\u73fe\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u30ac\u30e9\u30b9\u306e\u7834\u7247\u304c\u6563\u3089\u3070\u308b\u3088\u3046\u306a\u6f14\u51fa\u306f\u3001\u30db\u30e9\u30fc\u7cfb\u3084\u30af\u30fc\u30eb\u306a\u30c7\u30b6\u2026<\/p>\n","protected":false},"author":1,"featured_media":3025,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[8],"class_list":["post-3019","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","tag-javascript"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/comments?post=3019"}],"version-history":[{"count":5,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3019\/revisions"}],"predecessor-version":[{"id":3024,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3019\/revisions\/3024"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media\/3025"}],"wp:attachment":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media?parent=3019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/categories?post=3019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/tags?post=3019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}