Skip to content

hosein2398/Triangles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Triangle

Canvas library to create triangles on your background.

Canvas triangles

Usage

  • 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.

Effects

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.

About

πŸ”ΊπŸ”» Canvas library to create triangle pattern in background πŸ”ΊπŸ”»

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published