Forked from AnneD Osuch's Pen LGRJEo.
Last active
December 29, 2015 18:02
-
-
Save elykahn/dd5aaf47ab4e5aed0a34 to your computer and use it in GitHub Desktop.
MKbvEX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #particle-canvas | |
| h2 teeesy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // particle.min.js hosted on GitHub (https://github.com/JulianLaval/canvas-particle-network) | |
| var canvasDiv = document.getElementById('particle-canvas'); | |
| var options = { | |
| particleColor: '#ddddff', | |
| interactive: true, | |
| speed: 'fast', | |
| density: 'high' | |
| }; | |
| var particleCanvas = new ParticleNetwork(canvasDiv, options); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="https://rawgit.com/JulianLaval/canvas-particle-network/master/particle-network.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html, | |
| body { | |
| height: 100%; | |
| width: 100%; | |
| margin: 0; | |
| padding: 0; | |
| overflow: hidden; | |
| } | |
| #particle-canvas { | |
| width: 100%; | |
| height: 100vh; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment