Skip to content

Instantly share code, notes, and snippets.

@lonekorean
Created June 10, 2018 22:37
Show Gist options
  • Save lonekorean/e74538a07fbe9ae34767bf0059b64d78 to your computer and use it in GitHub Desktop.
Save lonekorean/e74538a07fbe9ae34767bf0059b64d78 to your computer and use it in GitHub Desktop.
Starting floaty bubbles
// wait for DOM to load
window.addEventListener('DOMContentLoaded', () => {
// start floaty bubbles background
Object.create(floatyBubbles).init({
canvasSelector: '#bg'
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment