0.9.0 • Published 3 years ago

@drum-n-bass/kinetics v0.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Kinetics

Kinetics is small 8.8kb (min.gz) canvas-based particles system.

DEVELOPEMENT

npm run install npm run dev http://localhost:3000/dev/index.html

BUILD

npm run build --> dist/kinetics.js

USE

<script src="kinetics.js"></script>
<script>
  document.addEventListener('DOMContentLoaded', function () {
    new Kinetics().interactionHook();
  });
</script>

WIP - container

Specify container element (not fullscreen) currently limited to single container. http://localhost:3000/dev/container.html