{"id":1692,"date":"2018-12-24T23:10:08","date_gmt":"2018-12-24T23:10:08","guid":{"rendered":"https:\/\/azoora.com\/blog\/?p=1692"},"modified":"2019-06-01T18:59:04","modified_gmt":"2019-06-01T18:59:04","slug":"canvas-nest-js-interactive-particle-nest-system-with-js-canvas","status":"publish","type":"post","link":"https:\/\/azoora.com\/blog\/javascript\/canvas-nest-js-interactive-particle-nest-system-with-js-canvas\/","title":{"rendered":"canvas-nest.js: Interactive Particle \/ Nest System with JS &#038; Canvas"},"content":{"rendered":"\n<h3>Description:<\/h3>\n\n\n\n<p>canvas-nest.js is a minimal JavaScript library that draws an animated, canvas based particle\/nest system for interactive background.<\/p>\n\n\n\n<h3>How to use it:<\/h3>\n\n\n\n<p>Just download and include the&nbsp;canvas-nest.js JavaScript file at the end of the document and we\u2019re ready to go.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>1<\/code><\/td><td><code>&lt;<\/code><code>script<\/code>&nbsp;<code>src<\/code><code>=<\/code><code>\"canvas-nest.js\"<\/code><code>&gt;&lt;\/<\/code><code>script<\/code><code>&gt;<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Config the particle system.<\/p>\n\n\n\n<ul><li><strong>color:<\/strong>&nbsp;color of the particles.<\/li><li><strong>opacity:<\/strong>&nbsp;Opacity of the particles.<\/li><li><strong>pointColor:<\/strong>&nbsp;color of points,<\/li><li><strong>zIndex:<\/strong>&nbsp;CSS z-index property.<\/li><li><strong>count:<\/strong>&nbsp;the amount of the particles<\/li><\/ul>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>1<\/code><\/td><td><code>&lt;script<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>2<\/code><\/td><td><code>color=<\/code><code>\"255,0,0\"<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>3<\/code><\/td><td><code>opacity=<\/code><code>'0.7'<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>4<\/code><\/td><td><code>zIndex=<\/code><code>\"-2\"<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>5<\/code><\/td><td><code>count=<\/code><code>\"120\"<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>6<\/code><\/td><td><code>src=<\/code><code>\"canvas-nest.js\"<\/code><code>&gt;<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>7<\/code><\/td><td><code>&lt;\/script&gt;<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>Author<\/strong>: hustcc<\/p><p><strong>License<\/strong>: MIT<\/p><p><strong>Demo<\/strong>: <a href=\"https:\/\/www.cssscript.com\/demo\/interactive-particle-nest-system-with-javascript-and-canvas-canvas-nest-js\">Link<\/a><\/p><p><strong>Download<\/strong>: <a href=\"https:\/\/github.com\/hustcc\/canvas-nest.js\/archive\/master.zip\">Github<\/a> <\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Description: canvas-nest.js is a minimal JavaScript library that draws an animated, canvas based particle\/nest system for interactive background. How to use it: Just download and include the&nbsp;canvas-nest.js JavaScript file at the end of the document and we\u2019re ready to go. 1 &lt;script&nbsp;src=&#8221;canvas-nest.js&#8221;&gt;&lt;\/script&gt; Config the particle system. color:&nbsp;color of the particles. opacity:&nbsp;Opacity of the particles. pointColor:&nbsp;color [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1693,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[12],"tags":[87,17],"jetpack_featured_media_url":"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2019\/03\/canvas-nest.js.jpg","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p7FQPL-ri","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/1692"}],"collection":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/comments?post=1692"}],"version-history":[{"count":1,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/1692\/revisions"}],"predecessor-version":[{"id":1694,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/1692\/revisions\/1694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media\/1693"}],"wp:attachment":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media?parent=1692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/categories?post=1692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/tags?post=1692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}