{"id":4469,"date":"2023-03-28T22:43:32","date_gmt":"2023-03-28T13:43:32","guid":{"rendered":"https:\/\/engineering.webstudio168.jp\/?p=4469"},"modified":"2023-03-29T01:47:57","modified_gmt":"2023-03-28T16:47:57","slug":"bubble-javascript-gimmick","status":"publish","type":"post","link":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/","title":{"rendered":"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011"},"content":{"rendered":"\n<canvas id=\"myCanvas\"><\/canvas>\n\n<script>\n  \/\/ Canvas\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b\n  const canvas = document.getElementById('myCanvas');\n\n  \/\/ Canvas\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\n  const ctx = canvas.getContext('2d');\n\n  \/\/ \u6ce1\u3092\u8868\u3059Bubble\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\n  class Bubble {\n    constructor(x, y, radius, color) {\n      this.x = x;\n      this.y = y;\n      this.radius = radius;\n      this.color = color;\n      this.dy = Math.random() * 2 + 1;\n    }\n\n    \/\/ \u6ce1\u3092\u63cf\u753b\u3059\u308b\u30e1\u30bd\u30c3\u30c9\n    draw() {\n      ctx.beginPath();\n      ctx.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false);\n      ctx.fillStyle = this.color;\n      ctx.fill();\n      ctx.closePath();\n    }\n\n    \/\/ \u6ce1\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b\u30e1\u30bd\u30c3\u30c9\n    update() {\n      \/\/ \u6ce1\u306ey\u5ea7\u6a19\u3092\u66f4\u65b0\u3059\u308b\n      this.y -= this.dy;\n\n      \/\/ \u6ce1\u304c\u753b\u9762\u5916\u306b\u51fa\u305f\u3089\u65b0\u3057\u3044\u6ce1\u3068\u3057\u3066\u518d\u751f\u6210\u3059\u308b\n      if (this.y + this.radius < 0) {\n        this.x = Math.random() * canvas.width;\n        this.y = canvas.height + this.radius;\n        this.dy = Math.random() * 2 + 1;\n      }\n\n      \/\/ \u6ce1\u3092\u63cf\u753b\u3059\u308b\n      this.draw();\n    }\n  }\n\n  \/\/ \u6ce1\u306e\u914d\u5217\u3092\u4f5c\u6210\u3059\u308b\n  const bubbles = [];\n  for (let i = 0; i < 20; i++) {\n    const x = Math.random() * canvas.width;\n    const y = canvas.height + Math.random() * 200;\n    const radius = Math.random() * 20 + 10;\n    const color = `rgba(255, 255, 255, ${Math.random() * 0.5 + 0.5})`;\n    bubbles.push(new Bubble(x, y, radius, color));\n  }\n\n  \/\/ \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\n  function animate() {\n    requestAnimationFrame(animate);\n\n    \/\/ Canvas\u3092\u30af\u30ea\u30a2\u3059\u308b\n    ctx.clearRect(0, 0, canvas.width, canvas.height);\n\n    \/\/ \u6ce1\u3092\u66f4\u65b0\u3059\u308b\n    for (let i = 0; i < bubbles.length; i++) {\n      bubbles[i].update();\n    }\n  }\n  animate();\n<\/script>\n<style>\n  canvas#myCanvas {\n    background-color: #000;\n    width: 100%;\n  }\n<\/style>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ce1\uff08\u5186\uff09\u304c\u4e0b\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u767b\u5834\u3059\u308b\u30ae\u30df\u30c3\u30af\u3092canvas\u4e0a\u306b\u63cf\u753b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4f55\u304b\u306e\u5fc5\u8981\u304c\u3042\u308c\u3070\u3054\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-file=\"canvas-bubble-js.html\" data-lang=\"HTML\"><code>&lt;canvas id=&quot;myCanvas&quot;&gt;&lt;\/canvas&gt;\n\n&lt;script&gt;\n  \/\/ Canvas\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b\n  const canvas = document.getElementById(&#39;myCanvas&#39;);\n\n  \/\/ Canvas\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\n  const ctx = canvas.getContext(&#39;2d&#39;);\n\n  \/\/ \u6ce1\u3092\u8868\u3059Bubble\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\n  class Bubble {\n    constructor(x, y, radius, color) {\n      this.x = x;\n      this.y = y;\n      this.radius = radius;\n      this.color = color;\n      this.dy = Math.random() * 2 + 1;\n    }\n\n    \/\/ \u6ce1\u3092\u63cf\u753b\u3059\u308b\u30e1\u30bd\u30c3\u30c9\n    draw() {\n      ctx.beginPath();\n      ctx.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false);\n      ctx.fillStyle = this.color;\n      ctx.fill();\n      ctx.closePath();\n    }\n\n    \/\/ \u6ce1\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b\u30e1\u30bd\u30c3\u30c9\n    update() {\n      \/\/ \u6ce1\u306ey\u5ea7\u6a19\u3092\u66f4\u65b0\u3059\u308b\n      this.y -= this.dy;\n\n      \/\/ \u6ce1\u304c\u753b\u9762\u5916\u306b\u51fa\u305f\u3089\u65b0\u3057\u3044\u6ce1\u3068\u3057\u3066\u518d\u751f\u6210\u3059\u308b\n      if (this.y + this.radius &lt; 0) {\n        this.x = Math.random() * canvas.width;\n        this.y = canvas.height + this.radius;\n        this.dy = Math.random() * 2 + 1;\n      }\n\n      \/\/ \u6ce1\u3092\u63cf\u753b\u3059\u308b\n      this.draw();\n    }\n  }\n\n  \/\/ \u6ce1\u306e\u914d\u5217\u3092\u4f5c\u6210\u3059\u308b\n  const bubbles = [];\n  for (let i = 0; i &lt; 20; i++) {\n    const x = Math.random() * canvas.width;\n    const y = canvas.height + Math.random() * 200;\n    const radius = Math.random() * 20 + 10;\n    const color = `rgba(255, 255, 255, ${Math.random() * 0.5 + 0.5})`;\n    bubbles.push(new Bubble(x, y, radius, color));\n  }\n\n  \/\/ \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\n  function animate() {\n    requestAnimationFrame(animate);\n\n    \/\/ Canvas\u3092\u30af\u30ea\u30a2\u3059\u308b\n    ctx.clearRect(0, 0, canvas.width, canvas.height);\n\n    \/\/ \u6ce1\u3092\u66f4\u65b0\u3059\u308b\n    for (let i = 0; i &lt; bubbles.length; i++) {\n      bubbles[i].update();\n    }\n  }\n  animate();\n&lt;\/script&gt;\n&lt;style&gt;\n  canvas#myCanvas {\n    background-color: #000;\n    width: 100%;\n  }\n&lt;\/style&gt;<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u3046\u3053\u3068\u3042\u308b\u304b\u5fae\u5999\u3067\u3059\u304ccanvas\u306e\u63cf\u753b\u51e6\u7406\u306e\u3054\u53c2\u8003\u306b\u306a\u308c\u3070\u5149\u6804\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6ce1\uff08\u5186\uff09\u304c\u4e0b\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u767b\u5834\u3059\u308b\u30ae\u30df\u30c3\u30af\u3092canvas\u4e0a\u306b\u63cf\u753b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4f55\u304b\u306e\u5fc5\u8981\u304c\u3042\u308c\u3070\u3054\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u4f7f\u3046\u3053\u3068\u3042\u308b\u304b\u5fae\u5999\u3067\u3059\u304ccanvas\u306e\u63cf\u753b\u51e6\u7406\u306e\u3054\u53c2\u8003\u306b\u306a\u308c\u3070\u5149\u6804\u3067\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":4474,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","_themeisle_gutenberg_block_has_review":false,"sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[55],"tags":[8,91],"class_list":["post-4469","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","tag-javascript","tag-91"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011 | QooTechWEB-\u958b\u767a\u30ed\u30b0\u30fb\u5b9f\u52d9\u8a18\u9332\u30d6\u30ed\u30b0<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011 | QooTechWEB-\u958b\u767a\u30ed\u30b0\u30fb\u5b9f\u52d9\u8a18\u9332\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u6ce1\uff08\u5186\uff09\u304c\u4e0b\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u767b\u5834\u3059\u308b\u30ae\u30df\u30c3\u30af\u3092canvas\u4e0a\u306b\u63cf\u753b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4f55\u304b\u306e\u5fc5\u8981\u304c\u3042\u308c\u3070\u3054\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u4f7f\u3046\u3053\u3068\u3042\u308b\u304b\u5fae\u5999\u3067\u3059\u304ccanvas\u306e\u63cf\u753b\u51e6\u7406\u306e\u3054\u53c2\u8003\u306b\u306a\u308c\u3070\u5149\u6804\u3067\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/\" \/>\n<meta property=\"og:site_name\" content=\"QooTechWEB-\u958b\u767a\u30ed\u30b0\u30fb\u5b9f\u52d9\u8a18\u9332\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/kenichi.yoshimura.735\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/kenichi.yoshimura.735\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-28T13:43:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-28T16:47:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2023\/03\/bubbles-83758_1280.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"848\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u559c\u591a\u5ddd\u8ce2\u4e00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u559c\u591a\u5ddd\u8ce2\u4e00\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/\"},\"author\":{\"name\":\"\u559c\u591a\u5ddd\u8ce2\u4e00\",\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/#\\\/schema\\\/person\\\/6d312dfa5e9a00aa7a3575e6dec37ddb\"},\"headline\":\"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011\",\"datePublished\":\"2023-03-28T13:43:32+00:00\",\"dateModified\":\"2023-03-28T16:47:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/\"},\"wordCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/#\\\/schema\\\/person\\\/6d312dfa5e9a00aa7a3575e6dec37ddb\"},\"image\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/bubbles-83758_1280.jpg\",\"keywords\":[\"JavaScript\",\"\u30ae\u30df\u30c3\u30af\"],\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/\",\"url\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/\",\"name\":\"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011 | QooTechWEB-\u958b\u767a\u30ed\u30b0\u30fb\u5b9f\u52d9\u8a18\u9332\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/bubbles-83758_1280.jpg\",\"datePublished\":\"2023-03-28T13:43:32+00:00\",\"dateModified\":\"2023-03-28T16:47:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/#primaryimage\",\"url\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/bubbles-83758_1280.jpg\",\"contentUrl\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/bubbles-83758_1280.jpg\",\"width\":1280,\"height\":848},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/bubble-javascript-gimmick\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"QooTechWEB\",\"item\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/\",\"name\":\"QooTechWEB\",\"description\":\"\u73fe\u5f79\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30a8\u30f3\u30b8\u30cb\u30a2\u304cJavaScript\u3092\u4e2d\u5fc3\u306bWeb\u958b\u767a\u306b\u4f7f\u3048\u308b\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u307e\u3059\uff01\u203b\u30b5\u30a4\u30c8\u5185\u306b\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8\u3092\u542b\u307f\u307e\u3059\",\"publisher\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/#\\\/schema\\\/person\\\/6d312dfa5e9a00aa7a3575e6dec37ddb\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/#\\\/schema\\\/person\\\/6d312dfa5e9a00aa7a3575e6dec37ddb\",\"name\":\"\u559c\u591a\u5ddd\u8ce2\u4e00\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/prof.png\",\"url\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/prof.png\",\"contentUrl\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/prof.png\",\"width\":514,\"height\":514,\"caption\":\"\u559c\u591a\u5ddd\u8ce2\u4e00\"},\"logo\":{\"@id\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/prof.png\"},\"description\":\"\u65e9\u7a32\u7530\u5927\u5b66\u7b2c\u4e00\u6587\u5b66\u90e8\u5352\u696d\u5f8c\u3001JAVA\u3067\u91d1\u878d\u7cfb\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u306a\u308b\u3002\u75d9\u6027\u659c\u9838\uff08\u3051\u3044\u305b\u3044\u3057\u3083\u3051\u3044\uff09\u3068\u3044\u3046\u5947\u75c5\u306b\u304b\u304b\u308a\u3001\u9996\u304c\u66f2\u304c\u3063\u305f\u3063\u307e\u307e\u306e\u751f\u6d3b\u309210\u5e74\u4ee5\u4e0a\u7d4c\u9a13\u3002\u30d7\u30fc\u30eb\u306b\u901a\u3044\u81ea\u529b\u3067\u76f4\u3057\u3001\u4eca\u306f\u307b\u307c\u5b8c\u6cbb\u3002 \u305d\u3093\u306a\u3053\u3068\u3082\u3042\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u304b\u3089\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u8ee2\u8eab\u3057\u3001\u73fe\u5728\u306fWEB\u306e\u4e16\u754c\u3067\u751f\u6d3b\u3002 \u696d\u52d9\u3067\u5229\u7528\u3057\u305f\u8a00\u8a9e\u306f \u30fbJAVA\uff083\u5e74\u7a0b\u5ea6\uff09 \u30fbPHP\uff085\u5e74\u7a0b\u5ea6\uff09 \u30fbPython\uff081\u5e74\uff09 \u30fbHTML\uff0815\u5e74\uff09\u30fbCSS\uff0815\u5e74\uff09\u30fbJavaScript\uff0815\u5e74\uff09\u30fbAppScript\uff081\u5e74\uff09 \u597d\u304d\u306a\u3082\u306e\u306fJavaScript\u3002\",\"sameAs\":[\"https:\\\/\\\/engineering.webstudio168.jp\",\"https:\\\/\\\/www.facebook.com\\\/kenichi.yoshimura.735\\\/\",\"https:\\\/\\\/www.instagram.com\\\/qoo_sphynx\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/--20a9a4190\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCSZ3BHtlV0CqU296Y5lXoXw\"],\"url\":\"https:\\\/\\\/engineering.webstudio168.jp\\\/blog\\\/author\\\/ichi0726\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011 | QooTechWEB-\u958b\u767a\u30ed\u30b0\u30fb\u5b9f\u52d9\u8a18\u9332\u30d6\u30ed\u30b0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/","og_locale":"ja_JP","og_type":"article","og_title":"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011 | QooTechWEB-\u958b\u767a\u30ed\u30b0\u30fb\u5b9f\u52d9\u8a18\u9332\u30d6\u30ed\u30b0","og_description":"\u6ce1\uff08\u5186\uff09\u304c\u4e0b\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u767b\u5834\u3059\u308b\u30ae\u30df\u30c3\u30af\u3092canvas\u4e0a\u306b\u63cf\u753b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4f55\u304b\u306e\u5fc5\u8981\u304c\u3042\u308c\u3070\u3054\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u4f7f\u3046\u3053\u3068\u3042\u308b\u304b\u5fae\u5999\u3067\u3059\u304ccanvas\u306e\u63cf\u753b\u51e6\u7406\u306e\u3054\u53c2\u8003\u306b\u306a\u308c\u3070\u5149\u6804\u3067\u3059\u3002","og_url":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/","og_site_name":"QooTechWEB-\u958b\u767a\u30ed\u30b0\u30fb\u5b9f\u52d9\u8a18\u9332\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/kenichi.yoshimura.735\/","article_author":"https:\/\/www.facebook.com\/kenichi.yoshimura.735\/","article_published_time":"2023-03-28T13:43:32+00:00","article_modified_time":"2023-03-28T16:47:57+00:00","og_image":[{"width":1280,"height":848,"url":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2023\/03\/bubbles-83758_1280.jpg","type":"image\/jpeg"}],"author":"\u559c\u591a\u5ddd\u8ce2\u4e00","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u559c\u591a\u5ddd\u8ce2\u4e00","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/#article","isPartOf":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/"},"author":{"name":"\u559c\u591a\u5ddd\u8ce2\u4e00","@id":"https:\/\/engineering.webstudio168.jp\/blog\/#\/schema\/person\/6d312dfa5e9a00aa7a3575e6dec37ddb"},"headline":"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011","datePublished":"2023-03-28T13:43:32+00:00","dateModified":"2023-03-28T16:47:57+00:00","mainEntityOfPage":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/"},"wordCount":5,"publisher":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/#\/schema\/person\/6d312dfa5e9a00aa7a3575e6dec37ddb"},"image":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/#primaryimage"},"thumbnailUrl":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2023\/03\/bubbles-83758_1280.jpg","keywords":["JavaScript","\u30ae\u30df\u30c3\u30af"],"articleSection":["JavaScript"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/","url":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/","name":"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011 | QooTechWEB-\u958b\u767a\u30ed\u30b0\u30fb\u5b9f\u52d9\u8a18\u9332\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/#primaryimage"},"image":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/#primaryimage"},"thumbnailUrl":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2023\/03\/bubbles-83758_1280.jpg","datePublished":"2023-03-28T13:43:32+00:00","dateModified":"2023-03-28T16:47:57+00:00","breadcrumb":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/#primaryimage","url":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2023\/03\/bubbles-83758_1280.jpg","contentUrl":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2023\/03\/bubbles-83758_1280.jpg","width":1280,"height":848},{"@type":"BreadcrumbList","@id":"https:\/\/engineering.webstudio168.jp\/blog\/bubble-javascript-gimmick\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"QooTechWEB","item":"https:\/\/engineering.webstudio168.jp\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6ce1\u304c\u4e0b\u304b\u3089\u51fa\u308bJavaScript\u30ae\u30df\u30c3\u30af\u3092Canvas\u3067\u63cf\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3010jQuery\u7121\u3057\u3011"}]},{"@type":"WebSite","@id":"https:\/\/engineering.webstudio168.jp\/blog\/#website","url":"https:\/\/engineering.webstudio168.jp\/blog\/","name":"QooTechWEB","description":"\u73fe\u5f79\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30a8\u30f3\u30b8\u30cb\u30a2\u304cJavaScript\u3092\u4e2d\u5fc3\u306bWeb\u958b\u767a\u306b\u4f7f\u3048\u308b\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u307e\u3059\uff01\u203b\u30b5\u30a4\u30c8\u5185\u306b\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8\u3092\u542b\u307f\u307e\u3059","publisher":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/#\/schema\/person\/6d312dfa5e9a00aa7a3575e6dec37ddb"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/engineering.webstudio168.jp\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/engineering.webstudio168.jp\/blog\/#\/schema\/person\/6d312dfa5e9a00aa7a3575e6dec37ddb","name":"\u559c\u591a\u5ddd\u8ce2\u4e00","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2022\/02\/prof.png","url":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2022\/02\/prof.png","contentUrl":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2022\/02\/prof.png","width":514,"height":514,"caption":"\u559c\u591a\u5ddd\u8ce2\u4e00"},"logo":{"@id":"https:\/\/engineering.webstudio168.jp\/blog\/wp-content\/uploads\/2022\/02\/prof.png"},"description":"\u65e9\u7a32\u7530\u5927\u5b66\u7b2c\u4e00\u6587\u5b66\u90e8\u5352\u696d\u5f8c\u3001JAVA\u3067\u91d1\u878d\u7cfb\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u306a\u308b\u3002\u75d9\u6027\u659c\u9838\uff08\u3051\u3044\u305b\u3044\u3057\u3083\u3051\u3044\uff09\u3068\u3044\u3046\u5947\u75c5\u306b\u304b\u304b\u308a\u3001\u9996\u304c\u66f2\u304c\u3063\u305f\u3063\u307e\u307e\u306e\u751f\u6d3b\u309210\u5e74\u4ee5\u4e0a\u7d4c\u9a13\u3002\u30d7\u30fc\u30eb\u306b\u901a\u3044\u81ea\u529b\u3067\u76f4\u3057\u3001\u4eca\u306f\u307b\u307c\u5b8c\u6cbb\u3002 \u305d\u3093\u306a\u3053\u3068\u3082\u3042\u3063\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u304b\u3089\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u8ee2\u8eab\u3057\u3001\u73fe\u5728\u306fWEB\u306e\u4e16\u754c\u3067\u751f\u6d3b\u3002 \u696d\u52d9\u3067\u5229\u7528\u3057\u305f\u8a00\u8a9e\u306f \u30fbJAVA\uff083\u5e74\u7a0b\u5ea6\uff09 \u30fbPHP\uff085\u5e74\u7a0b\u5ea6\uff09 \u30fbPython\uff081\u5e74\uff09 \u30fbHTML\uff0815\u5e74\uff09\u30fbCSS\uff0815\u5e74\uff09\u30fbJavaScript\uff0815\u5e74\uff09\u30fbAppScript\uff081\u5e74\uff09 \u597d\u304d\u306a\u3082\u306e\u306fJavaScript\u3002","sameAs":["https:\/\/engineering.webstudio168.jp","https:\/\/www.facebook.com\/kenichi.yoshimura.735\/","https:\/\/www.instagram.com\/qoo_sphynx\/","https:\/\/www.linkedin.com\/in\/--20a9a4190\/","https:\/\/www.youtube.com\/channel\/UCSZ3BHtlV0CqU296Y5lXoXw"],"url":"https:\/\/engineering.webstudio168.jp\/blog\/author\/ichi0726\/"}]}},"_links":{"self":[{"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/posts\/4469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/comments?post=4469"}],"version-history":[{"count":7,"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/posts\/4469\/revisions"}],"predecessor-version":[{"id":4495,"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/posts\/4469\/revisions\/4495"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/media\/4474"}],"wp:attachment":[{"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/media?parent=4469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/categories?post=4469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/engineering.webstudio168.jp\/blog\/wp-json\/wp\/v2\/tags?post=4469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}