{"id":37694,"date":"2017-08-18T18:01:40","date_gmt":"2017-08-18T10:01:40","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=37694"},"modified":"2017-11-26T01:59:52","modified_gmt":"2017-11-25T17:59:52","slug":"animated-particles-js","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/","title":{"rendered":"Create Beautiful Animated Particles with This Javascript Library"},"content":{"rendered":"<p>There are tons of <a href=\"https:\/\/www.hongkiat.com\/blog\/javascript-libraries-animate-svg\/\">free animation libraries<\/a> all with different effects and specialties. But, the new <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/vincentgarreau.com\/particles.js\/\">Particles.js<\/a> library goes a totally new direction by creating <strong>animated particles<\/strong> that <strong>move in real time<\/strong> all over the page.<\/p>\n<p>This easy-to-use library is completely free and open-sourced <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/github.com\/VincentGarreau\/particles.js\/\">on GitHub<\/a>. It certainly won\u2019t help you improve the <a href=\"https:\/\/www.hongkiat.com\/blog\/ux-and-ux-designers\/\">UX of your site<\/a> but it can help you add some <strong>interlaced particle effects<\/strong> to the background.<\/p>\n<p>On the <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/vincentgarreau.com\/particles.js\/\">main page<\/a>, you\u2019ll find a <strong>live interactive demo<\/strong> where you can play around with the library\u2019s features. This lets you adjust the particle size, speed, shape, color, position, you name it.<\/p>\n<p class=\"note\"><strong>Read Also:<\/strong> <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/creative-css-animations\/\">30 Cool CSS Animations You Have To See<\/a><\/p>\n<figure><a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/vincentgarreau.com\/particles.js\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/animated-particles-js\/01-particlesjs-library-webapp.jpg\" alt=\"Particles.js default animation\" width=\"1200\" height=\"822\"><\/a><\/figure>\n<p>As this is such a detailed library, it does require a <strong>good understanding of JavaScript<\/strong> to get it working. That\u2019s why this live demo is so valuable because it lets anyone play around with these settings to see what\u2019s possible in JavaScript.<\/p>\n<p>And, if you\u2019re okay with exporting these graphics you can <strong>save the images directly<\/strong> from the web app demo page. You can <strong>export a raw PNG<\/strong> or even <strong>save all your custom settings<\/strong> into a JSON file which then imports directly into the Particles.js script.<\/p>\n<p>By default, you can pick from a <strong>small handful of themes<\/strong> with different particle styles:<\/p>\n<ul>\n<li>NASA stars<\/li>\n<li>Bubbles<\/li>\n<li>Snow<\/li>\n<li>Nyan cat stars<\/li>\n<li>Default geometric shapes<\/li>\n<\/ul>\n<p>With these defaults, you can still <strong>edit all the main settings<\/strong> to refine colors, positions, speeds, and everything else.<\/p>\n<figure><a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/vincentgarreau.com\/particles.js\/#nasa\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/animated-particles-js\/02-nasa-particles-js-builder.jpg\" alt=\"Particles.js NASA theme\" width=\"646\" height=\"859\"><\/a><\/figure>\n<p>The best part of this whole library is the <strong>live customization feature<\/strong> right on the main page. If you want to get into the nitty-gritty details you really need to understand JavaScript and <a href=\"https:\/\/www.hongkiat.com\/blog\/web-dev-youtube-channels\/\">frontend coding<\/a>.<\/p>\n<p>But, even a beginner could work through the interface, pick the settings they want, and export everything as a JSON file.<\/p>\n<p>A brilliant library for anyone looking to <strong>create dynamic particles on the web<\/strong>. To learn more, visit the <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/github.com\/VincentGarreau\/particles.js\">GitHub repo<\/a> and you can share your thoughts with the creator Vincent Garreauon on Twitter <a rel=\"nofollow\" target=\"_blank\" href=\"https:\/\/twitter.com\/VincentGarreau\">@VincentGarreau<\/a>.<\/p>\n<p class=\"note\"><strong>Read Also:<\/strong> <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/css3-animation-tools\/\">10 CSS3 Animation Tools You Should Bookmark<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>There are tons of free animation libraries all with different effects and specialties. But, the new Particles.js library goes a totally new direction by creating animated particles that move in real time all over the page. This easy-to-use library is completely free and open-sourced on GitHub. It certainly won\u2019t help you improve the UX of&hellip;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3393],"tags":[3497,4117],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Create Beautiful Animated Particles with Particles.js<\/title>\n<meta name=\"description\" content=\"There are tons of free animation libraries all with different effects and specialties. But, the new Particles.js library goes a totally new direction by\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create Beautiful Animated Particles with This Javascript Library\" \/>\n<meta property=\"og:description\" content=\"There are tons of free animation libraries all with different effects and specialties. But, the new Particles.js library goes a totally new direction by\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-18T10:01:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-25T17:59:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/animated-particles-js\/01-particlesjs-library-webapp.jpg\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"Create Beautiful Animated Particles with This Javascript Library\",\"datePublished\":\"2017-08-18T10:01:40+00:00\",\"dateModified\":\"2017-11-25T17:59:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/\"},\"wordCount\":351,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/animated-particles-js\\\/01-particlesjs-library-webapp.jpg\",\"keywords\":[\"Javascript Library\",\"Javascripts\"],\"articleSection\":[\"Toolkit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/\",\"name\":\"Create Beautiful Animated Particles with Particles.js\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/animated-particles-js\\\/01-particlesjs-library-webapp.jpg\",\"datePublished\":\"2017-08-18T10:01:40+00:00\",\"dateModified\":\"2017-11-25T17:59:52+00:00\",\"description\":\"There are tons of free animation libraries all with different effects and specialties. But, the new Particles.js library goes a totally new direction by\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/animated-particles-js\\\/01-particlesjs-library-webapp.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/animated-particles-js\\\/01-particlesjs-library-webapp.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animated-particles-js\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Beautiful Animated Particles with This Javascript Library\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create Beautiful Animated Particles with Particles.js","description":"There are tons of free animation libraries all with different effects and specialties. But, the new Particles.js library goes a totally new direction by","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:\/\/www.hongkiat.com\/blog\/animated-particles-js\/","og_locale":"en_US","og_type":"article","og_title":"Create Beautiful Animated Particles with This Javascript Library","og_description":"There are tons of free animation libraries all with different effects and specialties. But, the new Particles.js library goes a totally new direction by","og_url":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2017-08-18T10:01:40+00:00","article_modified_time":"2017-11-25T17:59:52+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/animated-particles-js\/01-particlesjs-library-webapp.jpg","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"Create Beautiful Animated Particles with This Javascript Library","datePublished":"2017-08-18T10:01:40+00:00","dateModified":"2017-11-25T17:59:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/"},"wordCount":351,"commentCount":0,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/animated-particles-js\/01-particlesjs-library-webapp.jpg","keywords":["Javascript Library","Javascripts"],"articleSection":["Toolkit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/","url":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/","name":"Create Beautiful Animated Particles with Particles.js","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/animated-particles-js\/01-particlesjs-library-webapp.jpg","datePublished":"2017-08-18T10:01:40+00:00","dateModified":"2017-11-25T17:59:52+00:00","description":"There are tons of free animation libraries all with different effects and specialties. But, the new Particles.js library goes a totally new direction by","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/animated-particles-js\/01-particlesjs-library-webapp.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/animated-particles-js\/01-particlesjs-library-webapp.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/animated-particles-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create Beautiful Animated Particles with This Javascript Library"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-9NY","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/37694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=37694"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/37694\/revisions"}],"predecessor-version":[{"id":42076,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/37694\/revisions\/42076"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=37694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=37694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=37694"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=37694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}