Canvas library to create triangles on your background.
- Load the library on the page you want to use.
- Create a canvas with id of 'can' .
<canvas id="canv"></canvas>
(Remember to load the library after tag) - Create a script like:
<script>
Triangles();
</script>
- Enjoy your background.
Currently there are 6 effects available to use. You can only pass in the number of effect you want to use like so:
Triangles(4);
List of effects could be seen here.