{"id":763,"date":"2018-03-16T16:28:41","date_gmt":"2018-03-16T07:28:41","guid":{"rendered":"http:\/\/www.takaya-com.jp\/archives\/?p=763"},"modified":"2018-03-16T16:29:33","modified_gmt":"2018-03-16T07:29:33","slug":"%e9%80%8f%e6%98%8e%e6%84%9f%e3%81%82%e3%82%8b%e6%b3%a1%e3%82%92%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%a7%e3%81%b5%e3%82%8f%e3%81%b5%e3%82%8f%e6%b5%ae%e9%81%8a%e3%81%95","status":"publish","type":"post","link":"https:\/\/takaya-com.jp\/archives\/2018\/03\/%e9%80%8f%e6%98%8e%e6%84%9f%e3%81%82%e3%82%8b%e6%b3%a1%e3%82%92%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%a7%e3%81%b5%e3%82%8f%e3%81%b5%e3%82%8f%e6%b5%ae%e9%81%8a%e3%81%95\/","title":{"rendered":"\u900f\u660e\u611f\u3042\u308b\u6ce1\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3075\u308f\u3075\u308f\u6d6e\u904a\u3055\u305b\u308bbubbly.js"},"content":{"rendered":"<p>\u4eca\u65e5\u306f\u3042\u3044\u306b\u304f\u306e\u96e8\u3067\u3059\u304c\u30fb\u30fb\u30fb\u685c\u306e\u958b\u82b1\u304c\u5f85\u3061\u9060\u3057\u3044\u4eca\u65e5\u3053\u306e\u9803\u3067\u3059\u306d( \u02d8\u0348 \u1d55 \u02d8\u0348 )\u2661<br \/>\n\u4eca\u56de\u306f\u3001\u80cc\u666f\u306b\u6ce1\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3075\u308f\u3075\u308f\u6d6e\u904a\u3055\u305b\u308b\u8d85\u8efd\u91cf\u30b9\u30af\u30ea\u30d7\u30c8<strong>bubbly-bg.js<\/strong>\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u80cc\u666f\u306b\u6ce1\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3075\u308f\u3075\u308f\u6d6e\u904a\u3055\u305b\u308b\u8d85\u8efd\u91cf\u30b9\u30af\u30ea\u30d7\u30c8(\u203bIE\u975e\u5bfe\u5fdc)\u3067\u3059\u3002<br \/>\n\u30b3\u30fc\u30c9\u3082\u77ed\u304f\u5358\u72ec\u3067\u4f7f\u7528\u53ef\u80fd\u306a\u305f\u3081\u304a\u624b\u8efd\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6697\u3044\u80cc\u666f\u306e\u5834\u5408\u306f\u30a4\u30eb\u30df\u30cd\u30fc\u30b7\u30e7\u30f3\u306e\u3088\u3046\u306b\u5149\u308a\u8f1d\u304f\u6f14\u51fa\u3082\u3067\u304d\u305d\u3046\u3067\u3059\uff01<br \/>\n\u6de1\u3044\u304b\u308f\u3044\u3089\u3057\u3044\u8272\u306e\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3082\u3082\u3061\u308d\u3093\u3067\u3059\u3057\u3001\u8272\u306e\u30c1\u30e7\u30a4\u30b9\u6b21\u7b2c\u3067\u30ed\u30de\u30f3\u30c1\u30c3\u30af\u306a\u96f0\u56f2\u6c17\u3092\u51fa\u305b\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n<p>\u30bf\u30fc\u30b2\u30c3\u30c8\u304c\u5973\u6027\u306e\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306b\u304a\u3059\u3059\u3081\u266a<\/p>\n<p>\u5b9f\u88c5\u65b9\u6cd5\u306f\u3068\u3063\u3066\u3082\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>\u2460<a href=\"https:\/\/github.com\/tipsy\/bubbly-bg\" rel=\"noopener\" target=\"_blank\" style=\"display:inline;\">GitHub<\/a>\u304b\u3089bubbly-bg.js\u3092DL\u3057\u307e\u3059\u3002<\/p>\n<p>\u300cClone or download\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068DL\u304c\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n<p>\u2461\u5b9f\u88c5\u3057\u305f\u3044\u30da\u30fc\u30b8\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\n\u25bcJavaScript <\/p>\n<pre class=\"lang:js mark:3,4 decode:true \" >&lt;body&gt;\r\n   . . .(\u30b3\u30f3\u30c6\u30f3\u30c4\u4e2d\u7565). . .\r\n  &lt;script src=\"bubbly-bg.js\"&gt;&lt;\/script&gt;\r\n  &lt;script&gt;bubbly();&lt;\/script&gt;\r\n&lt;\/body&gt;<\/pre>\n<p>\u3053\u308c\u3067\u5b9f\u88c5\u5b8c\u4e86\u3067\u3059\uff01<\/p>\n<p>\u3067\u3059\u304c\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u6ce1\u306e\u307c\u304b\u3057\u5177\u5408\u30fb\u6570\u30fb\u8272\u306a\u3069\u304c\u5909\u66f4\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u53c2\u8003\u306b\u30c7\u30e2\u7528\u30da\u30fc\u30b8\u3067\u6307\u5b9a\u3057\u305f\u30aa\u30d7\u30b7\u30e7\u30f3\u8fbc\u307f\u306e\u30b3\u30fc\u30c9\u3082\u8a18\u8f09\u3057\u307e\u3059\u3002<br \/>\n\u6ce1\u306e\u8272\u306fhsla\u3067\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u900f\u660e\u5ea6\u3082\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3044\u308d\u3044\u308d\u3068\u8abf\u6574\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u266a<\/p>\n<pre class=\"lang:js decode:true \" > \r\n\r\n&lt;script src=\"bubbly-bg.js\"&gt;&lt;\/script&gt; \r\n    &lt;script&gt;\r\n        bubbly({\r\n            animate: true, \/\/ default is true\r\n            blur: 1, \/\/ default is 4\r\n            bubbleFunc: () =&gt; `hsla(${Math.random() * 360}, 50%, 70%, ${Math.random() * 0.1})`, \/\/ default is () =&gt; `hsla(0, 0%, 100%, ${r() * 0.1})`)\r\n            bubbles: 100, \/\/ default is Math.floor((canvas.width + canvas.height) * 0.02);\r\n            canvas: document.querySelector(\"#background\"), \/\/ default is created and attached\r\n            colorStart: \"#f2dae8\", \/\/ default is blue-ish\r\n            colorStop: \"#1d6a71\", \/\/ default is blue-ish\r\n            compose: \"lighter\", \/\/ default is \"lighter\"\r\n            shadowColor: \"#D4FCC3\", \/\/ default is #fff\r\n        });\r\n    &lt;\/script&gt;\r\n&lt;\/body&gt;<\/pre>\n<p>\u4eca\u56de\u3001\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u306e\u306f\u3001<br \/>\n<a href=\"http:\/\/on-ze.com\/blog\" target=\"_blank\">\u300eONZE\/BLOG\u300f<\/a>\u3055\u3093\u3067\u3059\u3002<br \/>\n\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff01<\/p>\n<p><a href=\"http:\/\/www.takaya-com.jp\/archives\/demo\/bubblybg\" target=\"_blank\">\u30c7\u30e2\u30da\u30fc\u30b8\u306f\u3001\u3053\u3061\u3089<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u306f\u3042\u3044\u306b\u304f\u306e\u96e8\u3067\u3059\u304c\u30fb\u30fb\u30fb\u685c\u306e\u958b\u82b1\u304c\u5f85\u3061\u9060\u3057\u3044\u4eca\u65e5\u3053\u306e\u9803\u3067\u3059\u306d( \u02d8\u0348 \u1d55 \u02d8\u0348 )\u2661 \u4eca\u56de\u306f\u3001\u80cc\u666f\u306b\u6ce1\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3075\u308f\u3075\u308f\u6d6e\u904a\u3055\u305b\u308b\u8d85\u8efd\u91cf\u30b9\u30af\u30ea\u30d7\u30c8bubbly-bg.js\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/posts\/763"}],"collection":[{"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/comments?post=763"}],"version-history":[{"count":24,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":788,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/posts\/763\/revisions\/788"}],"wp:attachment":[{"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/media?parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/categories?post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/takaya-com.jp\/archives\/wp-json\/wp\/v2\/tags?post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}