{"id":3418,"date":"2016-09-25T10:00:47","date_gmt":"2016-09-25T01:00:47","guid":{"rendered":"http:\/\/www.dream-net.org\/blog\/?p=3418"},"modified":"2016-06-20T15:55:25","modified_gmt":"2016-06-20T06:55:25","slug":"%e6%b0%b4%e6%bb%b4%e3%81%8c%e8%90%bd%e3%81%a1%e3%81%9f%e3%82%88%e3%81%86%e3%81%aa%e6%b0%b4%e9%9d%a2%e3%82%a8%e3%83%95%e3%82%a7%e3%82%af%e3%83%88%e3%81%8c%e7%be%8e%e3%81%97%e3%81%84%e3%80%8craindrops-j","status":"publish","type":"post","link":"https:\/\/dream-net.org\/blog\/?p=3418","title":{"rendered":"\u6c34\u6ef4\u304c\u843d\u3061\u305f\u3088\u3046\u306a\u6c34\u9762\u30a8\u30d5\u30a7\u30af\u30c8\u304c\u7f8e\u3057\u3044\u300cRaindrops.js\u300d"},"content":{"rendered":"<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#Raindropsjs\"><span class=\"toc_number toc_depth_1\">1<\/span> \n\u6c34\u6ef4\u304c\u843d\u3061\u305f\u3088\u3046\u306a\u6c34\u9762\u30a8\u30d5\u30a7\u30af\u30c8\u304c\u7f8e\u3057\u3044\u300cRaindrops.js\u300d\n<\/a><\/li><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">2<\/span> \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">3<\/span> \u4f7f\u3044\u65b9<\/a><ul><li><a href=\"#i-3\"><span class=\"toc_number toc_depth_2\">3.1<\/span> \u2460\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f<\/a><\/li><li><a href=\"#id\"><span class=\"toc_number toc_depth_2\">3.2<\/span> \u2461\u30dc\u30c3\u30af\u30b9\u306bid\u3092\u4ed8\u3051\u308b<\/a><\/li><li><a href=\"#i-4\"><span class=\"toc_number toc_depth_2\">3.3<\/span> \u2462\u5b9f\u884c\u30b3\u30fc\u30c9\u3092\u66f8\u304f<\/a><\/li><\/ul><\/li><li><a href=\"#i-5\"><span class=\"toc_number toc_depth_1\">4<\/span> \u30aa\u30d7\u30b7\u30e7\u30f3<\/a><\/li><\/ul><\/div>\n<h2 style=\"color: #134985; background: #FFFEA6; padding:5px; margin-bottom:50px\"><span id=\"Raindropsjs\">\n<p>\u6c34\u6ef4\u304c\u843d\u3061\u305f\u3088\u3046\u306a\u6c34\u9762\u30a8\u30d5\u30a7\u30af\u30c8\u304c\u7f8e\u3057\u3044\u300cRaindrops.js\u300d<\/p>\n<\/span><\/h2>\n<p>\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u533a\u5207\u308a\u306b\u6c34\u6ef4\u3092\u843d\u3068\u3057\u305f\u3088\u3046\u306a\u3001\u6ce2\u6253\u3064\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u898b\u305b\u3066\u304f\u308c\u308b\u300cRaindrops.js\u300d\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n  \u753b\u50cf\u3067\u306f\u308f\u304b\u308a\u306b\u304f\u3044\u306e\u3067\u3001\u307e\u305a\u306f\u30b5\u30a4\u30c8\u3092\u3054\u89a7\u4e0b\u3055\u3044\u3002<\/p>\n<p><a href=\"http:\/\/daniellaharel.com\/raindrops\/\"><img decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2016\/06\/01-17.jpg\" alt=\"\" \/><\/a><\/p>\n<p><a href=\"http:\/\/daniellaharel.com\/raindrops\/\" target=\"_blank\">Raindrops.js<\/a><\/p>\n<p>\u307d\u3061\u3083\u3093\u3001\u3068\u97f3\u304c\u3057\u305d\u3046\u306a\u5e7b\u60f3\u7684\u306a\u52b9\u679c\u304c\u7d20\u6575\u3067\u3059\u3002<br \/>\n  EXAMPLES\u3092\u898b\u308b\u3068\u3001\u6ce2\u5f62\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f6\u7a2e\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u6fc0\u3057\u3044\u96e8\u306e\u3088\u3046\u306a\u52b9\u679c\u3082\u3042\u308a\u307e\u3059\u306d\u3002<\/p>\n<h2 style=\"color:#134985; margin-top:70px; font-weight:bold\"><span id=\"i\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/span><\/h2>\n<p><a href=\"https:\/\/github.com\/d-harel\/raindrops\"><img decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2016\/06\/02-16.jpg\" alt=\"\" \/><\/a><\/p>\n<p><a href=\"https:\/\/github.com\/d-harel\/raindrops\">GitHub<\/a><\/p>\n<p>ZIP\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u306f\u30b7\u30f3\u30d7\u30eb\u306bjs\u672c\u4f53\u306e\u307f\u3067\u3059\u3002<\/p>\n<h2 style=\"color:#134985; margin-top:70px; font-weight:bold\"><span id=\"i-2\">\u4f7f\u3044\u65b9<\/span><\/h2>\n<h3 style=\"color:#134985; margin-top:50px; font-weight:bold\"><span id=\"i-3\">\u2460\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f<\/span><\/h3>\n<p>raindrops.js\u306e\u307b\u304b\u306bjQuery\u3068jQuery UI\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n  &lt;body&gt;\u306e\u9589\u3058\u30bf\u30b0\u76f4\u524d\u3067\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<br \/>\n  \u4e0b\u8a18\u3067\u306f\u6700\u65b0\u306ejQuery\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u30012.1.4\u304cIE9\u4ee5\u4e0b\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u30019\u4ee5\u4e0b\u306eIE\u3067\u3082\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>[HTML]<\/p>\n<pre><xmp><body>\r\n  ...\r\n  \u30b3\u30f3\u30c6\u30f3\u30c4\r\n  ...\r\n<script src=\"https:\/\/code.jquery.com\/jquery-2.1.4.js\"><\/script>   <script src=\"https:\/\/code.jquery.com\/ui\/1.11.4\/jquery-ui.js\"><\/script>\r\n<script src=\"js\/raindrops.js\"><\/script>\r\n<\/body><\/xmp><\/pre>\n<h3 style=\"color:#134985; margin-top:50px; font-weight:bold\"><span id=\"id\">\u2461\u30dc\u30c3\u30af\u30b9\u306bid\u3092\u4ed8\u3051\u308b<\/span><\/h3>\n<p>\u6c34\u6ef4\u52b9\u679c\u3092\u4ed8\u3051\u305f\u3044\u30dc\u30c3\u30af\u30b9\u306b\u4efb\u610f\u306eid\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u3002<\/p>\n<p>[HTML]<\/p>\n<pre><xmp><div id=\"drop\">\r\n\u6c34\u6ef4\u30b3\u30f3\u30c6\u30f3\u30c4\r\n<\/div><\/xmp><\/pre>\n<h3 style=\"color:#134985; margin-top:50px; font-weight:bold\"><span id=\"i-4\">\u2462\u5b9f\u884c\u30b3\u30fc\u30c9\u3092\u66f8\u304f<\/span><\/h3>\n<p>\u5b9f\u884c\u7528\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\n  \u8a18\u8ff0\u306e\u5834\u6240\u306f\u3001js\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u7b87\u6240\u306e\u5f8c\u3001&lt;body&gt;\u306e\u9589\u3058\u30bf\u30b0\u76f4\u524d\u304c\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre><xmp><script>\r\n$(function(){\r\njQuery('#drop').raindrops();\r\n});\r\n<\/script><\/xmp><\/pre>\n<h2 style=\"color:#134985; margin-top:70px; font-weight:bold\"><span id=\"i-5\">\u30aa\u30d7\u30b7\u30e7\u30f3<\/span><\/h2>\n<p>\u6307\u5b9a\u65b9\u6cd5\u306f\u6b21\u306e\u3068\u304a\u308a\u3002<\/p>\n<pre><xmp><script type=\"text\/javascript\">  \r\njQuery('#example').raindrops(\r\n{color:'#ffffff',\r\ncanvasHeight:100});\r\n<\/script>\r\n<\/xmp><\/pre>\n<p>\u4e3b\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul style=\"list-style:none\">\n<li><strong>color<\/strong>\uff1a\u6c34\u6ef4\u306e\u8272<\/li>\n<li><strong>waveLength<\/strong>\uff1a\u6ce2\u5f62\u306e\u9577\u3055\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f340\u3067\u3001\u6570\u5b57\u3092\u5927\u304d\u304f\u3059\u308b\u3068\u6ce2\u304c\u7d30\u304b\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>frequency<\/strong>\uff1a\u843d\u3061\u308b\u6c34\u6ef4\u306e\u6570\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f3\u3067\u3001\u6570\u5b57\u3092\u5927\u304d\u304f\u3059\u308b\u3068\u6fc0\u3057\u3044\u96e8\u3092\u4f5c\u308c\u307e\u3059\u3002<\/li>\n<li><strong>waveHeight<\/strong>\uff1a\u6ce2\u306e\u9ad8\u3055\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f100\u3067\u3001\u6570\u5b57\u3092\u5927\u304d\u304f\u3059\u308b\u3068\u6ce2\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>density<\/strong>\uff1a\u6ce2\u7d0b\u306e\u5e83\u304c\u308a\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f0.02\u3067\u3001\u6570\u5b57\u3092\u5927\u304d\u304f\u3059\u308b\u3068\u6ce2\u7d0b\u304c\u5c0f\u3055\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>rippleSpeed<\/strong>\uff1a\u6ce2\u7d0b\u306e\u30b9\u30d4\u30fc\u30c9\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f0.1\u3067\u3001\u6570\u5b57\u3092\u5927\u304d\u304f\u3059\u308b\u3068\u6ce2\u7d0b\u306e\u52d5\u304d\u304c\u901f\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>canvasWidth<\/strong>\uff1a\u6c34\u9762\u306e\u5e45\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u89aa\u8981\u7d20\u306e100%\u3067\u3059\u3002<\/li>\n<li><strong>canvasHeight<\/strong>\uff1a\u6c34\u9762\u306e\u9ad8\u3055\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u89aa\u8981\u7d20\u306e50%\u3067\u3059\u3002<\/li>\n<li><strong>rightPadding<\/strong>\uff1a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u751f\u3058\u305f\u3001\u6c34\u9762\u53f3\u7aef\u306e\u4e0d\u8981\u306a\u3059\u304d\u9593\u3092\u57cb\u3081\u308b\u305f\u3081\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f20\u3067\u3059\u3002<\/li>\n<\/ul>\n<p style=\"margin-top: 70px;\">\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u6570\u5b57\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u69d8\u3005\u306a\u6c34\u6ef4\u306e\u611f\u3058\u3092\u8868\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306d\u3002\u8208\u5473\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u3001\u305c\u3072\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u533a\u5207\u308a\u306b\u6c34\u6ef4\u3092\u843d\u3068\u3057\u305f\u3088\u3046\u306a\u3001\u6ce2\u6253\u3064\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u898b\u305b\u3066\u304f\u308c\u308b\u300cRaindrops.js\u300d\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u307d\u3061\u3083\u3093\u3001\u3068\u97f3\u304c\u3057\u305d\u3046\u306a\u5e7b\u60f3\u7684\u306a\u52b9\u679c\u304c\u7d20\u6575\u3067\u3059\u3002\u6ce2\u5f62\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f6\u7a2e\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u6570\u5b57\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u69d8\u3005\u306a\u6c34\u6ef4\u306e\u611f\u3058\u3092\u8868\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u8208\u5473\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u3001\u305c\u3072\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"author":1,"featured_media":3419,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-3418","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jquery"],"_links":{"self":[{"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3418"}],"version-history":[{"count":4,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3418\/revisions"}],"predecessor-version":[{"id":3424,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3418\/revisions\/3424"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/3419"}],"wp:attachment":[{"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}